Rearanged members of Transformable for a smaller object size
This commit is contained in:
parent
4807c779a7
commit
7faa5507a4
@ -235,8 +235,8 @@ private:
|
|||||||
Angle m_rotation; //!< Orientation of the object
|
Angle m_rotation; //!< Orientation of the object
|
||||||
Vector2f m_scale; //!< Scale of the object
|
Vector2f m_scale; //!< Scale of the object
|
||||||
mutable Transform m_transform; //!< Combined transformation of the object
|
mutable Transform m_transform; //!< Combined transformation of the object
|
||||||
mutable bool m_transformNeedUpdate; //!< Does the transform need to be recomputed?
|
|
||||||
mutable Transform m_inverseTransform; //!< Combined transformation of the object
|
mutable Transform m_inverseTransform; //!< Combined transformation of the object
|
||||||
|
mutable bool m_transformNeedUpdate; //!< Does the transform need to be recomputed?
|
||||||
mutable bool m_inverseTransformNeedUpdate; //!< Does the transform need to be recomputed?
|
mutable bool m_inverseTransformNeedUpdate; //!< Does the transform need to be recomputed?
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -39,8 +39,8 @@ m_position(0, 0),
|
|||||||
m_rotation(),
|
m_rotation(),
|
||||||
m_scale(1, 1),
|
m_scale(1, 1),
|
||||||
m_transform(),
|
m_transform(),
|
||||||
m_transformNeedUpdate(true),
|
|
||||||
m_inverseTransform(),
|
m_inverseTransform(),
|
||||||
|
m_transformNeedUpdate(true),
|
||||||
m_inverseTransformNeedUpdate(true)
|
m_inverseTransformNeedUpdate(true)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user