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

Transform::getOpenGLMatrix not including rotation #365

Closed
TheBoneJarmer opened this issue Dec 29, 2023 · 2 comments
Closed

Transform::getOpenGLMatrix not including rotation #365

TheBoneJarmer opened this issue Dec 29, 2023 · 2 comments
Assignees
Labels

Comments

@TheBoneJarmer
Copy link

Hey

In my desperate attempt to retrieve the rotation axis I figured I could consider extracting the data from the transformation matrix. However, when I run the method Transform::getOpenGLMatrix I only see the last row getting values (the position). I would expect the rotation to be included as well.

With kind regards,
TheBoneJarmer

@DanielChappuis
Copy link
Owner

Hello. As you can see here in the code, both the orientation and position are returned by the Transform::getOpenGLMatrix() method.

@DanielChappuis
Copy link
Owner

I closing this issue. Feel free to open a new discussion instead if this is still not clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants