gl-vis / regl-line2d

:part_alternation_mark: Draw 2d polyline with regl
https://gl-vis.github.io/regl-line2d
MIT License
59 stars 15 forks source link

Draw multiple lines with single draw call #21

Closed milcktoast closed 7 years ago

milcktoast commented 7 years ago

Is it planned to allow drawing multiple poly-lines with a single draw call? i.e. GL_LINES

dy commented 7 years ago

Yes, pass array to draw call as 'drawLine([a, b, c, ...])'. It will be released soon in npm.