diff options
author | ejcoumans <ejcoumans@08e121b0-ae19-0410-a57b-3be3395fd4fd> | 2007-10-20 02:23:39 +0000 |
---|---|---|
committer | ejcoumans <ejcoumans@08e121b0-ae19-0410-a57b-3be3395fd4fd> | 2007-10-20 02:23:39 +0000 |
commit | e7caaa28d3c1c0f26ee4232075d677d8e8e6b160 (patch) | |
tree | 2d0a049f784af0904a0911d5acddce58cbea44bf /Demos/VehicleDemo | |
parent | 1e4e52306f8da2aa64b3550bf911e3bdbc91eb9d (diff) | |
download | bullet3-e7caaa28d3c1c0f26ee4232075d677d8e8e6b160.tar.gz |
re-organized memory (stack and pool) allocators. this lets the user pass in their own memory allocators.
Diffstat (limited to 'Demos/VehicleDemo')
-rw-r--r-- | Demos/VehicleDemo/VehicleDemo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/VehicleDemo/VehicleDemo.cpp b/Demos/VehicleDemo/VehicleDemo.cpp index c4e1f41e1..065d05d97 100644 --- a/Demos/VehicleDemo/VehicleDemo.cpp +++ b/Demos/VehicleDemo/VehicleDemo.cpp @@ -124,7 +124,7 @@ void VehicleDemo::setupPhysics() btVector3 worldMax(1000,1000,1000);
btBroadphaseInterface* pairCache = new btAxisSweep3(worldMin,worldMax);
btConstraintSolver* constraintSolver = new btSequentialImpulseConstraintSolver();
- m_dynamicsWorld = new btDiscreteDynamicsWorld(dispatcher,pairCache,constraintSolver);
+ m_dynamicsWorld = new btDiscreteDynamicsWorld(dispatcher,pairCache,constraintSolver,collisionConfiguration);
#ifdef FORCE_ZAXIS_UP
m_dynamicsWorld->setGravity(btVector3(0,0,-10));
#endif
|