mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-12 19:11:43 +00:00
Add default initialization to ESM::Position members
This commit is contained in:
parent
55cd30ea3b
commit
67e32abd4f
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ namespace ESM
|
||||||
// Position and rotation
|
// Position and rotation
|
||||||
struct Position
|
struct Position
|
||||||
{
|
{
|
||||||
float pos[3];
|
float pos[3]{};
|
||||||
|
|
||||||
// In radians
|
// In radians
|
||||||
float rot[3];
|
float rot[3]{};
|
||||||
|
|
||||||
osg::Vec3f asVec3() const { return osg::Vec3f(pos[0], pos[1], pos[2]); }
|
osg::Vec3f asVec3() const { return osg::Vec3f(pos[0], pos[1], pos[2]); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue