mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:23:09 +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.
|
/// Delete all data.
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
|
// TODO: Andrew to implement this
|
||||||
|
void stepForward(float deltaTime) {}
|
||||||
|
|
||||||
/// Enforce contraints.
|
/// Enforce contraints.
|
||||||
/// \return max distance of point movement
|
/// \return max distance of point movement
|
||||||
float enforceConstraints();
|
float enforceConstraints();
|
||||||
|
@ -87,6 +90,8 @@ public:
|
||||||
/// Moves and modifies elements of _shapes to agree with state of _points
|
/// Moves and modifies elements of _shapes to agree with state of _points
|
||||||
void updateShapes(const glm::quat& rotation, const glm::vec3& translation) const;
|
void updateShapes(const glm::quat& rotation, const glm::vec3& translation) const;
|
||||||
|
|
||||||
|
const QVector<Shape*>* getShapes() const { return _shapes; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QVector<glm::vec3> _points;
|
QVector<glm::vec3> _points;
|
||||||
QVector<Constraint*> _constraints;
|
QVector<Constraint*> _constraints;
|
||||||
|
|
Loading…
Reference in a new issue