16 #ifndef BT_HINGE2_CONSTRAINT_H
17 #define BT_HINGE2_CONSTRAINT_H
btFixedConstraint btRigidBody & rbB
btScalar getAngle(int axis_index) const
Get the relative Euler angle.
void setAngularUpperLimit(const btVector3 &angularUpper)
btTransform m_calculatedTransformB
btTransform m_calculatedTransformA
void setAngularLowerLimit(const btVector3 &angularLower)
btGeneric6DofSpring2Constraint(btRigidBody &rbA, btRigidBody &rbB, const btTransform &frameInA, const btTransform &frameInB, RotateOrder rotOrder=RO_XYZ)
BT_DECLARE_ALIGNED_ALLOCATOR()
const btVector3 & getAxis2()
void setUpperLimit(btScalar ang1max)
void setLowerLimit(btScalar ang1min)
const btVector3 & getAxis1()
btHinge2Constraint(btRigidBody &rbA, btRigidBody &rbB, btVector3 &anchor, btVector3 &axis1, btVector3 &axis2)
const btVector3 & getAnchor2()
const btVector3 & getAnchor()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...