16 #ifndef BT_POINT2POINTCONSTRAINT_H
17 #define BT_POINT2POINTCONSTRAINT_H
25 #ifdef BT_USE_DOUBLE_PRECISION
26 #define btPoint2PointConstraintData2 btPoint2PointConstraintDoubleData2
27 #define btPoint2PointConstraintDataName "btPoint2PointConstraintDoubleData2"
29 #define btPoint2PointConstraintData2 btPoint2PointConstraintFloatData
30 #define btPoint2PointConstraintDataName "btPoint2PointConstraintFloatData"
55 #ifdef IN_PARALLELL_SOLVER
144 #ifdef BT_BACKWARDS_COMPATIBLE_SERIALIZATION
btFixedConstraint btRigidBody & rbB
#define btPoint2PointConstraintData2
btPoint2PointConstraint(btRigidBody &rbA, btRigidBody &rbB, const btVector3 &pivotInA, const btVector3 &pivotInB)
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual void getInfo2(btConstraintInfo2 *info)
const btVector3 & getPivotInA() const
virtual void setParam(int num, btScalar value, int axis=-1)
void setPivotA(const btVector3 &pivotA)
virtual int calculateSerializeBufferSize() const
void setPivotB(const btVector3 &pivotB)
void getInfo2NonVirtual(btConstraintInfo2 *info, const btTransform &body0_trans, const btTransform &body1_trans)
bool m_useSolveConstraintObsolete
for backwards compatibility during the transition to 'getInfo/getInfo2'
virtual int getFlags() const
virtual btScalar getParam(int num, int axis=-1) const
return the local value of parameter
virtual void buildJacobian()
obsolete methods
#define btPoint2PointConstraintDataName
void getInfo1NonVirtual(btConstraintInfo1 *info)
virtual void getInfo1(btConstraintInfo1 *info)
const btVector3 & getPivotInB() const
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btConstraintSetting m_setting
void updateRHS(btScalar timeStep)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
btTypedConstraint(btTypedConstraintType type, btRigidBody &rbA)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btVector3DoubleData m_pivotInB
btTypedConstraintDoubleData m_typeConstraintData
btVector3DoubleData m_pivotInA
btTypedConstraintData m_typeConstraintData
btVector3DoubleData m_pivotInA
btVector3DoubleData m_pivotInB
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btTypedConstraintData m_typeConstraintData
btVector3FloatData m_pivotInB
btVector3FloatData m_pivotInA
this structure is not used, except for loading pre-2.82 .bullet files