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:
parent
1f74d8cca5
commit
8f29f2667e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user