react-particles-webgl icon indicating copy to clipboard operation
react-particles-webgl copied to clipboard

replaced deprecated methods with new ones

Open ad044 opened this issue 5 years ago • 2 comments
trafficstars

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

ad044 avatar Sep 12 '20 20:09 ad044

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

tim-soft avatar Sep 12 '20 20:09 tim-soft

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

ad044 avatar Sep 12 '20 20:09 ad044