From: Doug M. <mc...@ia...> - 2005-07-08 17:35:42
|
Hello, I am using gmtl 0.4.9. If I try to create a quat from this matrix I get the following: | 0.5 -0.866025 0 0 | | 0.866025 0.5 0 0 | | 0 0 1 0 | | 0 0 0 1 | quat (0, 0, 0.5, 0.866025) Which gives me the correct end rotation. Now, if I take the same matrix from above and apply a scale of 3 I get the following: | 1.5 -2.59808 0 0 | | 2.59808 1.5 0 0 | | 0 0 3 0 | | 0 0 0 1 | quat (0, 0, 0.981981, 1.32288) Which ends up over rotating by what appears to be a few degrees. It is my understanding that I should be able to create a quat with a matrix that does have scale on it, correct? Thanks for the help. Doug |