From 739d09a7af7d6a1d36668f2536073d01c506fd35 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Tue, 6 May 2008 02:59:40 +0000 Subject: [PATCH] use btAxisSweep3 by default in BenchmarkDemo --- Demos/Benchmarks/BenchmarkDemo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demos/Benchmarks/BenchmarkDemo.cpp b/Demos/Benchmarks/BenchmarkDemo.cpp index 1bb60a73c..1841ccb88 100644 --- a/Demos/Benchmarks/BenchmarkDemo.cpp +++ b/Demos/Benchmarks/BenchmarkDemo.cpp @@ -272,8 +272,8 @@ void BenchmarkDemo::initPhysics() ///Don't make the world AABB size too large, it will harm simulation quality and performance btVector3 worldAabbMin(-10000,-10000,-10000); btVector3 worldAabbMax(10000,10000,10000); - //m_overlappingPairCache = new btAxisSweep3(worldAabbMin,worldAabbMax,3500); - m_overlappingPairCache = new btDbvtBroadphase(); + m_overlappingPairCache = new btAxisSweep3(worldAabbMin,worldAabbMax,3500); + //m_overlappingPairCache = new btDbvtBroadphase(); ///the default constraint solver. For parallel processing you can use a different solver (see Extras/BulletMultiThreaded)