Refactoring to enable multi SAP broadphase.
This was already planned, and Pierre Terdiman recent thread motivated me to decouple the paircache from the sweep and prune. http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1329
This commit is contained in:
@@ -152,7 +152,7 @@ void BasicDemo::initPhysics()
|
||||
m_dispatcher = new btCollisionDispatcher(true);
|
||||
#endif //USE_PARALLEL_DISPATCHER
|
||||
|
||||
//#define USE_SWEEP_AND_PRUNE 1
|
||||
#define USE_SWEEP_AND_PRUNE 1
|
||||
#ifdef USE_SWEEP_AND_PRUNE
|
||||
#define maxProxies 8192
|
||||
btVector3 worldAabbMin(-10000,-10000,-10000);
|
||||
|
||||
Reference in New Issue
Block a user