#include <CPhysicsCorkscrew.h>
Inherits IPhysicsJoint.
Public Member Functions | |
| CPhysicsCorkscrew () | |
| ~CPhysicsCorkscrew () | |
| void | init (NewtonWorld *world, SPhysicsCorkscrewJoint *jnt) |
| void | setUserCallback (NewtonSliderCallBack callback) |
| f32 | getHingeAngle () |
| f32 | getJointAngle () |
| f32 | getJointVelocity () |
| f32 | getJointOmega () |
| vector3df | getForce () |
Static Private Member Functions | |
| static unsigned _cdecl | corkscrewCallback (const NewtonJoint *corkscrew, NewtonHingeSliderUpdateDesc *desc) |
Static Private Attributes | |
| static vector3df | m_breakForce |
| static f32 | m_minSlide |
| static f32 | m_maxSlide |
| CPhysicsCorkscrew::CPhysicsCorkscrew | ( | ) |
| CPhysicsCorkscrew::~CPhysicsCorkscrew | ( | ) |
| void CPhysicsCorkscrew::init | ( | NewtonWorld * | world, | |
| SPhysicsCorkscrewJoint * | jnt | |||
| ) |
| void CPhysicsCorkscrew::setUserCallback | ( | NewtonSliderCallBack | callback | ) |
| f32 CPhysicsCorkscrew::getHingeAngle | ( | ) |
| f32 CPhysicsCorkscrew::getJointAngle | ( | ) |
| f32 CPhysicsCorkscrew::getJointVelocity | ( | ) |
| f32 CPhysicsCorkscrew::getJointOmega | ( | ) |
| vector3df CPhysicsCorkscrew::getForce | ( | ) |
| unsigned CPhysicsCorkscrew::corkscrewCallback | ( | const NewtonJoint * | corkscrew, | |
| NewtonHingeSliderUpdateDesc * | desc | |||
| ) | [static, private] |
vector3df CPhysicsCorkscrew::m_breakForce [static, private] |
f32 CPhysicsCorkscrew::m_minSlide [static, private] |
f32 CPhysicsCorkscrew::m_maxSlide [static, private] |
1.5.1-p1