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
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
#define btPoint2PointConstraintData2
#define btPoint2PointConstraintDataName
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
Jacobian entry is an abstraction that allows to describe constraints it can be used in combination wi...
point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocke...
void setPivotB(const btVector3 &pivotB)
virtual int calculateSerializeBufferSize() const
virtual int getFlags() const
const btVector3 & getPivotInB() const
void setPivotA(const btVector3 &pivotA)
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)
bool m_useSolveConstraintObsolete
for backwards compatibility during the transition to 'getInfo/getInfo2'
const btVector3 & getPivotInA() const
btConstraintSetting m_setting
The btRigidBody is the main class for rigid body objects.
TypedConstraint is the baseclass for Bullet constraints and vehicles.
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btVector3 can be used to represent 3D points and vectors.
void serialize(struct btVector3Data &dataOut) const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btVector3DoubleData m_pivotInB
btTypedConstraintDoubleData m_typeConstraintData
btVector3DoubleData m_pivotInA
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 th...
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