Initialize 64bit user pointer, thanks to AndresTraks
See https://github.com/erwincoumans/bullet3/issues/33
This commit is contained in:
@@ -25,7 +25,7 @@ subject to the following restrictions:
|
|||||||
b3TypedConstraint::b3TypedConstraint(b3TypedConstraintType type, int rbA,int rbB)
|
b3TypedConstraint::b3TypedConstraint(b3TypedConstraintType type, int rbA,int rbB)
|
||||||
:b3TypedObject(type),
|
:b3TypedObject(type),
|
||||||
m_userConstraintType(-1),
|
m_userConstraintType(-1),
|
||||||
m_userConstraintId(-1),
|
m_userConstraintPtr((void*)-1),
|
||||||
m_breakingImpulseThreshold(B3_INFINITY),
|
m_breakingImpulseThreshold(B3_INFINITY),
|
||||||
m_isEnabled(true),
|
m_isEnabled(true),
|
||||||
m_needsFeedback(false),
|
m_needsFeedback(false),
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ subject to the following restrictions:
|
|||||||
btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA)
|
btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA)
|
||||||
:btTypedObject(type),
|
:btTypedObject(type),
|
||||||
m_userConstraintType(-1),
|
m_userConstraintType(-1),
|
||||||
m_userConstraintId(-1),
|
m_userConstraintPtr((void*)-1),
|
||||||
m_breakingImpulseThreshold(SIMD_INFINITY),
|
m_breakingImpulseThreshold(SIMD_INFINITY),
|
||||||
m_isEnabled(true),
|
m_isEnabled(true),
|
||||||
m_needsFeedback(false),
|
m_needsFeedback(false),
|
||||||
@@ -41,7 +41,7 @@ m_jointFeedback(0)
|
|||||||
btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA,btRigidBody& rbB)
|
btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA,btRigidBody& rbB)
|
||||||
:btTypedObject(type),
|
:btTypedObject(type),
|
||||||
m_userConstraintType(-1),
|
m_userConstraintType(-1),
|
||||||
m_userConstraintId(-1),
|
m_userConstraintPtr((void*)-1),
|
||||||
m_breakingImpulseThreshold(SIMD_INFINITY),
|
m_breakingImpulseThreshold(SIMD_INFINITY),
|
||||||
m_isEnabled(true),
|
m_isEnabled(true),
|
||||||
m_needsFeedback(false),
|
m_needsFeedback(false),
|
||||||
|
|||||||
Reference in New Issue
Block a user