Transform::getOpenGLMatrix not including rotation
TheBoneJarmer opened this issue · 2 comments
TheBoneJarmer commented
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 commented
Hello. As you can see here in the code, both the orientation and position are returned by the Transform::getOpenGLMatrix()
method.
DanielChappuis commented
I closing this issue. Feel free to open a new discussion instead if this is still not clear.