Skip to content

Conversation

MySongStan
Copy link

fix: Fixed an issue where when setting boundary and boundaryEncloseSComera to true, zooming back to the extreme position of the viewpoint with the mouse would result in incorrect looking direction of the camera, leading to errors in subsequent updates of the camera's cropping plane and causing some related calculation errors

fix: Fixed an issue where the camera's lookat direction would be incorrect when zooming to the extreme position of the viewing angle with the mouse after setting boundary and boundaryEncloseSComera to true, resulting in errors in the subsequent updates of the camera's cropping and causing some related calculation errors
@yomotsu
Copy link
Owner

yomotsu commented May 11, 2025

Thank you for the PR!
Before merging it, could you share the demo that’s causing the problem, just to be sure?

@yomotsu yomotsu changed the title Update CameraControls.ts fix: incorrect camera direction on boundary zoom May 11, 2025
@yomotsu yomotsu force-pushed the dev branch 4 times, most recently from 9f1d761 to 38c26ca Compare July 8, 2025 19:03
@abernier
Copy link
Collaborator

maybe writing a repro test could also help here (once #592 is merged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants