Rearanged members of Transformable for a smaller object size

This commit is contained in:
fuzzdistor 2022-11-29 05:28:05 -03:00 committed by GitHub
parent 4807c779a7
commit 7faa5507a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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?
}; };

View File

@ -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)
{ {
} }