Can someone explain how the scale/rotation are saved in the 4x4 matrix?
I have this as the result from using GMFDump:
MESH
Data starts at: 28
{
28 - Matrix:
1.00000000, 0.000000000, 0.000000000, 0.000000000
0.000000000, -1.34358856e-007, 0.999999940, 0.000000000
0.000000000, -0.999999940, -1.34358856e-007, 0.000000000
0.000000000, 7.72592878, 0.000000000, 1.00000000
and this is what is shown when using the model viewer:
I assume I have to perform some quaternion/euler conversion for the rotation values... but in any case it doesn't appear that other than the position listed in the last line that the rotation and scale are in any kind of order?