CPhysicsHinge Class Reference

#include <CPhysicsHinge.h>

Inherits IPhysicsJoint.

List of all members.

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


Constructor & Destructor Documentation

CPhysicsHinge::CPhysicsHinge (  ) 

CPhysicsHinge::~CPhysicsHinge (  ) 


Member Function Documentation

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]


Member Data Documentation

f32 CPhysicsHinge::m_maxAngle [static, private]

f32 CPhysicsHinge::m_minAngle [static, private]

vector3df CPhysicsHinge::m_breakForce [static, private]


The documentation for this class was generated from the following files:
Generated on Sun Apr 15 00:25:18 2007 for IPhysics by  doxygen 1.5.1-p1