claygl icon indicating copy to clipboard operation
claygl copied to clipboard

[REQUEST]: Drawing lines

Open partynikko opened this issue 6 years ago • 2 comments

Hi!

First of all thanks for this library. I find it to be intuitive and better performant than other well known WebGL libraries.

I wonder if there are any plans on implementing support for drawing lines in 3D space? I have searched around the source code but not managed to find anything about it.

Best regards Nikola

partynikko avatar Oct 02 '18 06:10 partynikko

You can set the draw mode to LINES

new clay.Mesh({ mode: clay.Mesh.LINES });

pissang avatar Oct 19 '18 05:10 pissang

Thank you, I will try it out 😄

partynikko avatar Oct 29 '18 22:10 partynikko