#include <TrbDynBody.h>
Public Member Functions | |
TrbDynBody () | |
float | getMass () const |
float | getElasticity () const |
float | getFriction () const |
CollObject * | getCollObject () const |
const Matrix3 & | getBodyInertia () const |
const Matrix3 & | getBodyInertiaInv () const |
float | getMassInv () const |
void | setMass (float mass) |
void | setBodyInertia (const Matrix3 bodyInertia) |
void | setElasticity (float elasticity) |
void | setFriction (float friction) |
void | setCollObject (CollObject *collObj) |
void | setBodyInertiaInv (const Matrix3 bodyInertiaInv) |
void | setMassInv (float invMass) |
Public Attributes | |
CollObject * | fCollObject |
Private Attributes | |
float | fMass |
float | fMassInv |
Matrix3 | fIBody |
Matrix3 | fIBodyInv |
float | fElasticity |
float | fFriction |
Definition at line 27 of file TrbDynBody.h.
TrbDynBody::TrbDynBody | ( | ) | [inline] |
Definition at line 30 of file TrbDynBody.h.
const Matrix3& TrbDynBody::getBodyInertia | ( | ) | const [inline] |
Definition at line 43 of file TrbDynBody.h.
const Matrix3& TrbDynBody::getBodyInertiaInv | ( | ) | const [inline] |
Definition at line 44 of file TrbDynBody.h.
CollObject* TrbDynBody::getCollObject | ( | ) | const [inline] |
Definition at line 42 of file TrbDynBody.h.
float TrbDynBody::getElasticity | ( | ) | const [inline] |
Definition at line 40 of file TrbDynBody.h.
float TrbDynBody::getFriction | ( | ) | const [inline] |
Definition at line 41 of file TrbDynBody.h.
float TrbDynBody::getMass | ( | ) | const [inline] |
Definition at line 39 of file TrbDynBody.h.
float TrbDynBody::getMassInv | ( | ) | const [inline] |
Definition at line 45 of file TrbDynBody.h.
void TrbDynBody::setBodyInertia | ( | const Matrix3 | bodyInertia | ) | [inline] |
Definition at line 49 of file TrbDynBody.h.
void TrbDynBody::setBodyInertiaInv | ( | const Matrix3 | bodyInertiaInv | ) | [inline] |
Definition at line 54 of file TrbDynBody.h.
void TrbDynBody::setCollObject | ( | CollObject * | collObj | ) | [inline] |
Definition at line 52 of file TrbDynBody.h.
void TrbDynBody::setElasticity | ( | float | elasticity | ) | [inline] |
Definition at line 50 of file TrbDynBody.h.
void TrbDynBody::setFriction | ( | float | friction | ) | [inline] |
Definition at line 51 of file TrbDynBody.h.
void TrbDynBody::setMass | ( | float | mass | ) | [inline] |
Definition at line 48 of file TrbDynBody.h.
void TrbDynBody::setMassInv | ( | float | invMass | ) | [inline] |
Definition at line 59 of file TrbDynBody.h.
CollObject* TrbDynBody::fCollObject |
Definition at line 75 of file TrbDynBody.h.
float TrbDynBody::fElasticity [private] |
Definition at line 71 of file TrbDynBody.h.
float TrbDynBody::fFriction [private] |
Definition at line 72 of file TrbDynBody.h.
Matrix3 TrbDynBody::fIBody [private] |
Definition at line 69 of file TrbDynBody.h.
Matrix3 TrbDynBody::fIBodyInv [private] |
Definition at line 70 of file TrbDynBody.h.
float TrbDynBody::fMass [private] |
Definition at line 67 of file TrbDynBody.h.
float TrbDynBody::fMassInv [private] |
Definition at line 68 of file TrbDynBody.h.