You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for pointing that out.
However, please note that CameraControls cannot compute the sphere if the geometry does not exist.
Should CameraControls trigger a different error if the mesh lacks geometry?
Describe the bug
camera-controls/src/CameraControls.ts
Line 3301 in 582c9be
There can be meshes that have no geometry (yet). fitToSphere method assumes they always have one leading to an error.
To Reproduce
Steps to reproduce the behavior:
fitToSphere
Code
No response
Live example
No response
Expected behavior
Ignore meshes having no geometry
Screenshots or Video
No response
Device
Desktop
OS
No response
Browser
No response
The text was updated successfully, but these errors were encountered: