add serialization for btGearConstraint
support 'linearFactor' and 'angularFactor' for btRigidBody world importer
This commit is contained in:
1 parent
6fd4738a9e
commit
c28652de37
6 files changed
+783
-623
No files matched your search
@@ -87,6 +87,8 @@ typedef struct bInvalidHandle {
|
||||
class btGeneric6DofSpringConstraintDoubleData2;
|
||||
class btSliderConstraintData;
|
||||
class btSliderConstraintDoubleData;
|
||||
class btGearConstraintFloatData;
|
||||
class btGearConstraintDoubleData;
|
||||
class btContactSolverInfoDoubleData;
|
||||
class btContactSolverInfoFloatData;
|
||||
class SoftBodyMaterialData;
|
||||
@@ -933,6 +935,29 @@ typedef struct bInvalidHandle {
|
||||
};
|
||||
|
||||
|
||||
// -------------------------------------------------- //
|
||||
class btGearConstraintFloatData
|
||||
{
|
||||
public:
|
||||
btTypedConstraintFloatData m_typeConstraintData;
|
||||
btVector3FloatData m_axisInA;
|
||||
btVector3FloatData m_axisInB;
|
||||
float m_ratio;
|
||||
char m_padding[4];
|
||||
};
|
||||
|
||||
|
||||
// -------------------------------------------------- //
|
||||
class btGearConstraintDoubleData
|
||||
{
|
||||
public:
|
||||
btTypedConstraintDoubleData m_typeConstraintData;
|
||||
btVector3DoubleData m_axisInA;
|
||||
btVector3DoubleData m_axisInB;
|
||||
double m_ratio;
|
||||
};
|
||||
|
||||
|
||||
// -------------------------------------------------- //
|
||||
class btContactSolverInfoDoubleData
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user