initialize m_islandTag1/m_companionId, thanks Marten

This commit is contained in:
ejcoumans
2007-08-13 20:53:02 +00:00
parent 620b67b752
commit 635632acf9

View File

@@ -26,7 +26,9 @@ btCollisionObject::btCollisionObject()
m_hitFraction(btScalar(1.)), m_hitFraction(btScalar(1.)),
m_ccdSweptSphereRadius(btScalar(0.)), m_ccdSweptSphereRadius(btScalar(0.)),
m_ccdSquareMotionThreshold(btScalar(0.)), m_ccdSquareMotionThreshold(btScalar(0.)),
m_checkCollideWith(false) m_checkCollideWith(false),
m_islandTag1(-1),
m_companionId(-1)
{ {
} }
@@ -56,3 +58,4 @@ void btCollisionObject::activate(bool forceActivation)
} }