The Quaternion.SetFromRotationMatrix() from Blender [1] is inverted when compared to Gecko's [2]. I guess we need to do some changes in our function. [1] https://github.com/blender/blender/blob/2d1cce8331f3ecdfb8cb0c651e111ffac5dc7153/source/blender/blenlib/intern/math_rotation.c#L322 [2] https://searchfox.org/mozilla-central/rev/7908ce29657cfd623993046bd8e38664e1c0b28e/gfx/2d/Quaternion.h#49
Bug 1635363 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The Quaternion.SetFromRotationMatrix() from Blender [1] is inverted when compared to Gecko's [2]. I guess we need to do some changes in our function. [1] https://github.com/blender/blender/blob/2d1cce8331f3ecdfb8cb0c651e111ffac5dc7153/source/blender/blenlib/intern/math_rotation.c#L276 [2] https://searchfox.org/mozilla-central/rev/7908ce29657cfd623993046bd8e38664e1c0b28e/gfx/2d/Quaternion.h#49