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
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...
btPoint2PointConstraint(btRigidBody &rbA, btRigidBody &rbB, const btVector3 &pivotInA, const btVector3 &pivotInB)
void setPivotB(const btVector3 &pivotB)
virtual void buildJacobian()
internal method used by the constraint solver, don't use them directly
virtual void getInfo1(btConstraintInfo1 *info)
internal method used by the constraint solver, don't use them directly
void getInfo1NonVirtual(btConstraintInfo1 *info)
void updateRHS(btScalar timeStep)
virtual int calculateSerializeBufferSize() const
virtual int getFlags() const
void getInfo2NonVirtual(btConstraintInfo2 *info, const btTransform &body0_trans, const btTransform &body1_trans)
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
virtual void getInfo2(btConstraintInfo2 *info)
internal method used by the constraint solver, don't use them directly
The btRigidBody is the main class for rigid body objects.
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btTypedConstraint(btTypedConstraintType type, btRigidBody &rbA)
btVector3 can be used to represent 3D points and vectors.
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