#include <CPhysicsHinge.h>
Inherits IPhysicsJoint.
Public Member Functions | |
| CPhysicsHinge () | |
| ~CPhysicsHinge () | |
| void | init (NewtonWorld *nWorld, SPhysicsHingeJoint *jnt) |
| void | setUserCallback (NewtonBallCallBack callback) |
| vector3df | getForce () |
| f32 | getAngle () |
| f32 | getOmega () |
| NewtonJoint * | getJoint () |
Static Private Member Functions | |
| static unsigned _cdecl | hingeCallback (const NewtonJoint *hinge, NewtonHingeSliderUpdateDesc *desc) |
Static Private Attributes | |
| static f32 | m_maxAngle |
| static f32 | m_minAngle |
| static vector3df | m_breakForce |
| CPhysicsHinge::CPhysicsHinge | ( | ) |
| CPhysicsHinge::~CPhysicsHinge | ( | ) |
| void CPhysicsHinge::init | ( | NewtonWorld * | nWorld, | |
| SPhysicsHingeJoint * | jnt | |||
| ) |
| void CPhysicsHinge::setUserCallback | ( | NewtonBallCallBack | callback | ) |
| vector3df CPhysicsHinge::getForce | ( | ) |
| f32 CPhysicsHinge::getAngle | ( | ) |
| f32 CPhysicsHinge::getOmega | ( | ) |
| NewtonJoint* CPhysicsHinge::getJoint | ( | ) |
Reimplemented from IPhysicsJoint.
| unsigned CPhysicsHinge::hingeCallback | ( | const NewtonJoint * | hinge, | |
| NewtonHingeSliderUpdateDesc * | desc | |||
| ) | [static, private] |
f32 CPhysicsHinge::m_maxAngle [static, private] |
f32 CPhysicsHinge::m_minAngle [static, private] |
vector3df CPhysicsHinge::m_breakForce [static, private] |
1.5.1-p1