IPhysics: CPhysicsHinge Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# 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:

- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/CPhysicsHinge.h
- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/CPhysicsHinge.cpp