updated jamfile, updated optional ODE quickstep/box-box
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -243,7 +243,7 @@ void cullPoints2 (int n, btScalar p[], int m, int i0, int iret[])
|
||||
}
|
||||
}
|
||||
#ifndef dNODEBUG
|
||||
ASSERT (*iret != i0); // ensure iret got set
|
||||
btAssert (*iret != i0); // ensure iret got set
|
||||
#endif
|
||||
avail[*iret] = 0;
|
||||
iret++;
|
||||
|
||||
@@ -5,7 +5,10 @@ SubInclude TOP Extras COLLADA_DOM ;
|
||||
SubInclude TOP Extras LibXML ;
|
||||
#SubInclude TOP Extras EPA ;
|
||||
#SubInclude TOP Extras ExtraSolid35 ;
|
||||
#SubInclude TOP Extras quickstep ;
|
||||
SubInclude TOP Extras quickstep ;
|
||||
SubInclude TOP Extras AlternativeCollisionAlgorithms ;
|
||||
SubInclude TOP Extras GIMPACT ;
|
||||
SubInclude TOP Extras GIMPACTBullet ;
|
||||
|
||||
#GPUphysics needs 'make', not jam compatible build yet:
|
||||
#SubInclude TOP Extras GPUphysics ;
|
||||
|
||||
@@ -78,8 +78,8 @@ typedef btScalar dMatrix3[4*3];
|
||||
(A)[1] op dDOT1((B+4),(C)); \
|
||||
(A)[2] op dDOT1((B+8),(C));
|
||||
|
||||
#define dAASSERT ASSERT
|
||||
#define dIASSERT ASSERT
|
||||
#define dAASSERT btAssert
|
||||
#define dIASSERT btAssert
|
||||
|
||||
#define REAL float
|
||||
#define dDOTpq(a,b,p,q) ((a)[0]*(b)[0] + (a)[p]*(b)[q] + (a)[2*(p)]*(b)[2*(q)])
|
||||
|
||||
Reference in New Issue
Block a user