16 #ifndef BT_POINT2POINTCONSTRAINT_H
17 #define BT_POINT2POINTCONSTRAINT_H
26 #ifdef BT_USE_DOUBLE_PRECISION
27 #define btPoint2PointConstraintData2 btPoint2PointConstraintDoubleData2
28 #define btPoint2PointConstraintDataName "btPoint2PointConstraintDoubleData2"
30 #define btPoint2PointConstraintData2 btPoint2PointConstraintFloatData
31 #define btPoint2PointConstraintDataName "btPoint2PointConstraintFloatData"
32 #endif //BT_USE_DOUBLE_PRECISION
56 #ifdef IN_PARALLELL_SOLVER
82 virtual void buildJacobian();
116 virtual void setParam(
int num,
btScalar value,
int axis = -1);
118 virtual btScalar getParam(
int num,
int axis = -1)
const;
120 virtual int calculateSerializeBufferSize()
const;
123 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
144 #ifdef BT_BACKWARDS_COMPATIBLE_SERIALIZATION
154 #endif //BT_BACKWARDS_COMPATIBLE_SERIALIZATION
175 #endif //BT_POINT2POINTCONSTRAINT_H
btVector3DoubleData m_pivotInA
btConstraintSetting m_setting
point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocke...
Jacobian entry is an abstraction that allows to describe constraints it can be used in combination wi...
btTypedConstraintDoubleData m_typeConstraintData
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btTypedConstraintData m_typeConstraintData
bool m_useSolveConstraintObsolete
for backwards compatibility during the transition to 'getInfo/getInfo2'
virtual int calculateSerializeBufferSize() const
#define SIMD_FORCE_INLINE
btVector3FloatData m_pivotInA
void setPivotB(const btVector3 &pivotB)
btTypedConstraintData m_typeConstraintData
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
btVector3DoubleData m_pivotInA
btVector3FloatData m_pivotInB
const btVector3 & getPivotInA() const
void serialize(struct btVector3Data &dataOut) const
The btRigidBody is the main class for rigid body objects.
this structure is not used, except for loading pre-2.82 .bullet files
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
#define btPoint2PointConstraintData2
TypedConstraint is the baseclass for Bullet constraints and vehicles.
btVector3DoubleData m_pivotInB
#define BT_DECLARE_ALIGNED_ALLOCATOR()
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
void setPivotA(const btVector3 &pivotA)
const btVector3 & getPivotInB() const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 th...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
#define btPoint2PointConstraintDataName
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btVector3DoubleData m_pivotInB