more solver optimizations, can be disabled using solver->setSolverMode(SOLVER_RANDMIZE_ORDER)

This commit is contained in:
ejcoumans
2007-03-17 07:59:27 +00:00
parent 151cd4b9da
commit 2b87104184
9 changed files with 159 additions and 70 deletions

View File

@@ -252,6 +252,11 @@ void btAxisSweep3::removeHandle(BP_FP_INT_TYPE handle)
extern int gOverlappingPairs;
void btAxisSweep3::refreshOverlappingPairs()
{
}
void btAxisSweep3::processAllOverlappingPairs(btOverlapCallback* callback)
{
@@ -269,6 +274,8 @@ void btAxisSweep3::processAllOverlappingPairs(btOverlapCallback* callback)
m_overlappingPairArray.resize(m_overlappingPairArray.size() - m_invalidPair);
m_invalidPair = 0;
#endif
int i;
btBroadphasePair previousPair;