Bullet Collision Detection & Physics Library: btHingeConstraint.cpp File Reference

Bullet Collision Detection & Physics Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Macros | Functions | Variables
btHingeConstraint.cpp File Reference
`#include "btHingeConstraint.h"`
`#include "BulletDynamics/Dynamics/btRigidBody.h"`
`#include "LinearMath/btTransformUtil.h"`
`#include "LinearMath/btMinMax.h"`
`#include <new>`
`#include "btSolverBody.h"`
Include dependency graph for btHingeConstraint.cpp:

Go to the source code of this file.

## Macros
#define | HINGE_USE_OBSOLETE_SOLVER false
#define | HINGE_USE_FRAME_OFFSET true

## Functions
static btScalar | btNormalizeAnglePositive (btScalar angle)
static btScalar | btShortestAngularDistance (btScalar accAngle, btScalar curAngle)
static btScalar | btShortestAngleUpdate (btScalar accAngle, btScalar curAngle)

## Variables
static btVector3 | vHinge (0, 0, btScalar(1))

## Macro Definition Documentation

## ◆ HINGE_USE_FRAME_OFFSET

#define HINGE_USE_FRAME_OFFSET true

Definition at line 26 of file btHingeConstraint.cpp.

## ◆ HINGE_USE_OBSOLETE_SOLVER

#define HINGE_USE_OBSOLETE_SOLVER false

Definition at line 24 of file btHingeConstraint.cpp.

## Function Documentation

## ◆ btNormalizeAnglePositive()

static btScalar btNormalizeAnglePositive | ( | btScalar | angle | ) |
| inlinestatic

Definition at line 290 of file btHingeConstraint.cpp.

## ◆ btShortestAngleUpdate()

static btScalar btShortestAngleUpdate | ( | btScalar | accAngle,
|  | btScalar | curAngle
| ) |  |
| static

Definition at line 302 of file btHingeConstraint.cpp.

## ◆ btShortestAngularDistance()

static btScalar btShortestAngularDistance | ( | btScalar | accAngle,
|  | btScalar | curAngle
| ) |  |
| static

Definition at line 295 of file btHingeConstraint.cpp.

## Variable Documentation

## ◆ vHinge

btVector3 vHinge(0, 0, btScalar(1)) | ( | 0 | ,
|  | 0 | ,
|  | btScalar(1) |
| ) |  |
| static