Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
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"
31 #endif //BT_USE_DOUBLE_PRECISION
55 #ifdef IN_PARALLELL_SOLVER
79 virtual void buildJacobian();
113 virtual void setParam(
int num,
btScalar value,
int axis = -1);
115 virtual btScalar getParam(
int num,
int axis = -1)
const;
122 virtual int calculateSerializeBufferSize()
const;
125 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
144 #ifdef BT_BACKWARDS_COMPATIBLE_SERIALIZATION
154 #endif //BT_BACKWARDS_COMPATIBLE_SERIALIZATION
173 #endif //BT_POINT2POINTCONSTRAINT_H
TypedConstraint is the baseclass for Bullet constraints and vehicles.
const btVector3 & getPivotInA() const
void serialize(struct btVector3Data &dataOut) const
The btRigidBody is the main class for rigid body objects.
btVector3FloatData m_pivotInB
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btConstraintSetting m_setting
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btTypedConstraintData m_typeConstraintData
Jacobian entry is an abstraction that allows to describe constraints it can be used in combination wi...
btVector3DoubleData m_pivotInB
btTypedConstraintDoubleData m_typeConstraintData
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 th...
const btVector3 & getPivotInB() const
bool m_useSolveConstraintObsolete
for backwards compatibility during the transition to 'getInfo/getInfo2'
#define btPoint2PointConstraintDataName
point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocke...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btVector3DoubleData m_pivotInB
void setPivotB(const btVector3 &pivotB)
btVector3DoubleData m_pivotInA
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
btTypedConstraintData m_typeConstraintData
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
virtual int calculateSerializeBufferSize() const
void setPivotA(const btVector3 &pivotA)
this structure is not used, except for loading pre-2.82 .bullet files
#define btPoint2PointConstraintData2
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btVector3DoubleData m_pivotInA
btVector3FloatData m_pivotInA
virtual int getFlags() const