spite / THREE.MeshLine

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

Use latest Three.js API to set attributes #91

Closed cdata closed 4 years ago

cdata commented 4 years ago

When setting attributes with the BufferGeometry.prototype.addAttribute method, Three.js currently warns:

THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().

This changes the related method calls to use the updated name.

Jeremboo commented 4 years ago

Hi,

I'm a new contributor of this project! I will close this PR since I've already accepted the #96 who solve this issue!

Thank you for that! Sorry for the wait!