diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-04-16 10:26:33 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-04-16 10:26:33 +0400 |
commit | 4e2f7baff2ef86a6104f9cb17ea09088875454c5 (patch) | |
tree | 85706bc5b96d47d25945702cc328a713fab39b88 /source/gameengine/Physics/Sumo/Fuzzics/include | |
parent | 98b8c5102d50d1141061ea3cb276fac6786ae7e7 (diff) |
Improved rigid body handling for non spherical bounds type.
Polyheder dynamic objects are now converted properly.
Diffstat (limited to 'source/gameengine/Physics/Sumo/Fuzzics/include')
-rw-r--r-- | source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h index 92cecbdebaa..e7fbf3cdacc 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h @@ -14,14 +14,14 @@ public: void setPosition(const MT_Point3& pos) { m_pos = pos; } void setOrientation(const MT_Quaternion& orn) { m_orn = orn; } - void setLinearVelocity(const MT_Vector3& lin_vel) { m_lin_vel = lin_vel; } + void setLinearVelocity(const MT_Vector3& lin_vel) { m_lin_vel = lin_vel; } void setAngularVelocity(const MT_Vector3& ang_vel) { m_ang_vel = ang_vel; } - + const MT_Point3& getPosition() const { return m_pos; } const MT_Quaternion& getOrientation() const { return m_orn; } - const MT_Vector3& getLinearVelocity() const { return m_lin_vel; } - const MT_Vector3& getAngularVelocity() const { return m_ang_vel; } - + const MT_Vector3& getLinearVelocity() const { return m_lin_vel; } + const MT_Vector3& getAngularVelocity() const { return m_ang_vel; } + virtual MT_Transform getTransform() const { return MT_Transform(m_pos, m_orn); } |