spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.13k stars 379 forks source link

fix: getAttribute error in demo #158

Open MickeyMiao7 opened 1 year ago

MickeyMiao7 commented 1 year ago

Fix "getAttribute() is undefined" error in the demo.

The demo seemed to be broken because the getAttribute is missing THREE.Geometry. So i replace the THREE.Geometry with THREE.BufferGeometry and the demo works now.

image