From 6f4a4ace0d1f4b4a4c608fa7b98d947877a7868b Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Sun, 15 Jun 2014 17:58:27 -0700 Subject: [PATCH] add API stubs to RagDoll for SimulationEngine stepForward --- libraries/shared/src/Ragdoll.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/shared/src/Ragdoll.h b/libraries/shared/src/Ragdoll.h index 7a5115142d..996e65d954 100644 --- a/libraries/shared/src/Ragdoll.h +++ b/libraries/shared/src/Ragdoll.h @@ -74,6 +74,9 @@ public: /// Delete all data. void clear(); + // TODO: Andrew to implement this + void stepForward(float deltaTime) {} + /// Enforce contraints. /// \return max distance of point movement float enforceConstraints(); @@ -87,6 +90,8 @@ public: /// Moves and modifies elements of _shapes to agree with state of _points void updateShapes(const glm::quat& rotation, const glm::vec3& translation) const; + const QVector* getShapes() const { return _shapes; } + protected: QVector _points; QVector _constraints;