Drawing lines in 3D

I would like to draw pivots for debugging purposes. How can this be done with Heaps?

You can draw lines in 3D using the Graphics class (https://github.com/HeapsIO/heaps/blob/master/h3d/scene/Graphics.hx)

You can find some examples in the /samples folder under Helpers (https://github.com/HeapsIO/heaps/blob/master/samples/Helpers.hx)

1 Like