When setting the position attributes of the buffer geometry using Math.sin()
and Math.cos()
, I encountered an error.
THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.
https://i.sstatic.net/Gj9Rj.png
I am hoping to resolve this issue without any errors and simply fill in the value as expected.