use btAxisSweep3 by default in BenchmarkDemo
This commit is contained in:
1 parent
6cc18e05aa
commit
739d09a7af
1 file changed
+2
-2
@@ -272,8 +272,8 @@ void BenchmarkDemo::initPhysics()
|
|||||||
///Don't make the world AABB size too large, it will harm simulation quality and performance
|
///Don't make the world AABB size too large, it will harm simulation quality and performance
|
||||||
btVector3 worldAabbMin(-10000,-10000,-10000);
|
btVector3 worldAabbMin(-10000,-10000,-10000);
|
||||||
btVector3 worldAabbMax(10000,10000,10000);
|
btVector3 worldAabbMax(10000,10000,10000);
|
||||||
//m_overlappingPairCache = new btAxisSweep3(worldAabbMin,worldAabbMax,3500);
|
m_overlappingPairCache = new btAxisSweep3(worldAabbMin,worldAabbMax,3500);
|
||||||
m_overlappingPairCache = new btDbvtBroadphase();
|
//m_overlappingPairCache = new btDbvtBroadphase();
|
||||||
|
|
||||||
|
|
||||||
///the default constraint solver. For parallel processing you can use a different solver (see Extras/BulletMultiThreaded)
|
///the default constraint solver. For parallel processing you can use a different solver (see Extras/BulletMultiThreaded)
|
||||||
|
|||||||
Reference in new issue
Block a user