Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make getCameraTarget consistent with getCameraOrbit #4895

Merged
merged 10 commits into from
Sep 25, 2024
Merged

Conversation

elalish
Copy link
Collaborator

@elalish elalish commented Sep 23, 2024

getCameraOrbit returns the instantaneous camera position, not the goal position, but getCameraTarget was returning the target goal, which made camera syncing difficult between several model-viewer elements. Now fixed.

@elalish elalish self-assigned this Sep 23, 2024
@elalish elalish merged commit ce88f65 into master Sep 25, 2024
5 checks passed
@elalish elalish deleted the fixGetTarget branch September 25, 2024 17:28
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.

1 participant