1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Fix rotation order for XYZ rotation keys (Fixes #1067)

This commit is contained in:
scrawl 2014-12-13 15:49:32 +01:00
parent 1f74d8cca5
commit 8f29f2667e

View File

@ -483,7 +483,7 @@ public:
Ogre::Quaternion xr(Ogre::Radian(xrot), Ogre::Vector3::UNIT_X);
Ogre::Quaternion yr(Ogre::Radian(yrot), Ogre::Vector3::UNIT_Y);
Ogre::Quaternion zr(Ogre::Radian(zrot), Ogre::Vector3::UNIT_Z);
return (xr*yr*zr);
return (zr*yr*xr);
}
public: