tim-soft / react-particles-webgl

🔆 A 2D/3D particle library built on React, Three.js and WebGL
https://timellenberger.com/particles
MIT License
466 stars 32 forks source link

replaced deprecated methods with new ones #17

Open ad044 opened 4 years ago

ad044 commented 4 years ago

the browser throws an annoying warning about setDynamic and addAttribute being deprecated, replaced them with setUsage and setAttribute.

tim-soft commented 4 years ago

Thanks for this! Should we bump the minimum version of threejs?

ad044 commented 4 years ago

sure! no problem. afaik they deprecated these methods in version 110, and react-particles-webgl uses version 107.