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:
parent
0418e8e7a6
commit
89f3f860ed
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user