updated jamfile, updated optional ODE quickstep/box-box

This commit is contained in:
ejcoumans
2006-12-08 16:28:02 +00:00
parent 55d6b5b8e1
commit 1aa4e010f0
4 changed files with 11 additions and 8 deletions

View File

@@ -47,8 +47,8 @@ void BoxBoxCollisionAlgorithm::processCollision (btCollisionObject* body0,btColl
btCollisionObject* col0 = body0;
btCollisionObject* col1 = body1;
btBoxShape* box0 = (btBoxShape*)col0->m_collisionShape;
btBoxShape* box1 = (btBoxShape*)col1->m_collisionShape;
btBoxShape* box0 = (btBoxShape*)col0->getCollisionShape();
btBoxShape* box1 = (btBoxShape*)col1->getCollisionShape();
@@ -57,8 +57,8 @@ void BoxBoxCollisionAlgorithm::processCollision (btCollisionObject* body0,btColl
btDiscreteCollisionDetectorInterface::ClosestPointInput input;
input.m_maximumDistanceSquared = 1e30f;
input.m_transformA = body0->m_worldTransform;
input.m_transformB = body1->m_worldTransform;
input.m_transformA = body0->getWorldTransform();
input.m_transformB = body1->getWorldTransform();
BoxBoxDetector detector(box0,box1);
detector.getClosestPoints(input,*resultOut,dispatchInfo.m_debugDraw);