Hi,
I used QMatrix4x4 to save my transformation. I could also translate my OpenGL Matrix with ;
Qt Code:
qreal *data = m.data(); glTranslatef(data[12], data[13], data[14]);To copy to clipboard, switch view to plain text mode
but i cant calculate rotation degrees from QMatrix4x4 for glRotatef simply! With complex math's would be calculable but than no sin to use QMatrix.
Thanks
Bookmarks