Hi,

I used QMatrix4x4 to save my transformation. I could also translate my OpenGL Matrix with ;
Qt Code:
  1. qreal *data = m.data();
  2. 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