mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
add API stubs to RagDoll for SimulationEngine stepForward
This commit is contained in:
parent
7530f8ec1e
commit
6f4a4ace0d
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue