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

Move action handling to CameraAction #496

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

thatcomputerguy0101
Copy link
Contributor

This separation makes it more reasonable to respond to additional events with camera actions. This is relevant when responding to keyboard input or modifier keys on mouse input, as the default camera control handler doesn't check that information. This helps resolve the modifier dilemma in #482. (There will probably be a merge conflict between this and #482, which I can fix once either is merged.)

@asny
Copy link
Owner

asny commented Nov 11, 2024

Sorry for the late response 😬 I really like the concept of applying camera actions to the camera! That also removes most of the code from CameraControl 👍 Did a few adjustments to the API, so that applying the action didn't return a bool.

@asny asny merged commit a37f16d into asny:master Nov 11, 2024
5 checks passed
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.

2 participants