Skip to content

Add Turntable camera controller example #354

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nolankramer
Copy link

Sorry for the really late contribution here - it totally got shelved due to conflicting priorities with my own projects and life things.

Currently untested in vsgExamples (but I've tested the controller in my own private project and it works well).

If I get the time I can try to test in a Linux environment at-least. Although it might be awhile until I get a free moment.

@robertosfield
Copy link
Collaborator

Thanks for the example. I've merged as a turntable branch:

https://github.com/vsg-dev/vsgExamples/tree/turntable

It builds under Linux without any errors. It runs but I have only been able to translate and zoom in/out, the rotation side isn't working for me yet. I won't have time to investigate right as I lots of other work that needs attending.

@nolankramer
Copy link
Author

Found the issue, was using abs() but meant std::abs() when checking rotation angle. Tested as working on Fedora 42.

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