add API stubs to RagDoll for SimulationEngine stepForward

This commit is contained in:
Andrew Meadows 2014-06-15 17:58:27 -07:00
parent 7530f8ec1e
commit 6f4a4ace0d

View file

@ -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<Shape*>* getShapes() const { return _shapes; }
protected:
QVector<glm::vec3> _points;
QVector<Constraint*> _constraints;