summaryrefslogtreecommitdiffstats
path: root/src/physics/frontend/qcuboidcollisionshape_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-02-08 13:25:03 +0000
committerSean Harmer <sean.harmer@kdab.com>2017-06-01 16:00:14 +0000
commit7a124e79515f0750cc4d91cf5419c14c2fddb10b (patch)
tree0837be53c327d1ee71cefe245622b9baf089111a /src/physics/frontend/qcuboidcollisionshape_p.h
parent825ddb6fc73f307fee820c9e061e9d398439614e (diff)
Add extent properties to QCuboidCollisionShape and testwip/physics
Change-Id: I48fdbed9e8147fcaee1dd8b867db3103ceca5d68 Reviewed-by: David Morgan <david.morgan@kdab.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/physics/frontend/qcuboidcollisionshape_p.h')
-rw-r--r--src/physics/frontend/qcuboidcollisionshape_p.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/physics/frontend/qcuboidcollisionshape_p.h b/src/physics/frontend/qcuboidcollisionshape_p.h
index 1f50b6bc8..e99a24b11 100644
--- a/src/physics/frontend/qcuboidcollisionshape_p.h
+++ b/src/physics/frontend/qcuboidcollisionshape_p.h
@@ -64,12 +64,16 @@ public:
Q_DECLARE_PUBLIC(QCuboidCollisionShape)
- // TODO Add member variables
+ float m_xExtent;
+ float m_yExtent;
+ float m_zExtent;
};
struct QCuboidCollisionShapeData
{
- // TODO: Add members that should be sent to the backend
+ float xExtent;
+ float yExtent;
+ float zExtent;
};
} // namespace Qt3DPhysics