1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 12:39:53 +00:00

Allow to get a rotation vector from ESM::Position

This commit is contained in:
Andrei Kortunov 2021-01-13 13:57:05 +04:00
parent 0418e8e7a6
commit 89f3f860ed

View File

@ -54,6 +54,11 @@ struct Position
{
return osg::Vec3f(pos[0], pos[1], pos[2]);
}
osg::Vec3f asRotationVec3() const
{
return osg::Vec3f(rot[0], rot[1], rot[2]);
}
};
#pragma pack(pop)