lume / three-meshline

Mesh-based replacement for `THREE.Line` to allow lines thicker than 1 pixel and other features.
https://docs.lume.io/three-meshline/
MIT License
42 stars 4 forks source link

`setPoints` with a typed array not working in birds demo, only regular array works #1

Open trusktr opened 1 year ago

trusktr commented 1 year ago

See these lines:

https://github.com/lume/three-meshline/blob/eba9c4a700c2d92fc933fbf3f00611e9f3e9caf1/demo/birds.html#L76-L87

The loop with the Float32Array leads to the lines initially glitched, but the loop with the normal Array works fine.