summaryrefslogtreecommitdiffstats
path: root/src/render/backend/entity_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/backend/entity_p.h')
-rw-r--r--src/render/backend/entity_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/backend/entity_p.h b/src/render/backend/entity_p.h
index 734bc15ae..e7e6278e2 100644
--- a/src/render/backend/entity_p.h
+++ b/src/render/backend/entity_p.h
@@ -73,6 +73,8 @@ public:
Matrix4x4 *worldTransform();
const Matrix4x4 *worldTransform() const;
+ bool isParentLessTransform() const { return m_parentLessTransform; }
+ void setParentLessTransform(bool v) { m_parentLessTransform = v; }
Sphere *localBoundingVolume() const { return m_localBoundingVolume.data(); }
Sphere *worldBoundingVolume() const { return m_worldBoundingVolume.data(); }
Sphere *worldBoundingVolumeWithChildren() const { return m_worldBoundingVolumeWithChildren.data(); }
@@ -151,6 +153,7 @@ private:
QList<HEntity> m_childrenHandles;
HMatrix m_worldTransform;
+ bool m_parentLessTransform;
QSharedPointer<Sphere> m_localBoundingVolume;
QSharedPointer<Sphere> m_worldBoundingVolume;
QSharedPointer<Sphere> m_worldBoundingVolumeWithChildren;