diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-02-08 13:25:03 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-06-01 16:00:14 +0000 |
commit | 7a124e79515f0750cc4d91cf5419c14c2fddb10b (patch) | |
tree | 0837be53c327d1ee71cefe245622b9baf089111a /src/physics/frontend/qcuboidcollisionshape_p.h | |
parent | 825ddb6fc73f307fee820c9e061e9d398439614e (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.h | 8 |
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 |