From c4c6a3969bba352568743345be64c3ba81f99cb6 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Wed, 24 Mar 2010 21:36:36 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@294 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/demo/Simulation.cpp | 2 +- sources/demo/Simulation.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/demo/Simulation.cpp b/sources/demo/Simulation.cpp index c0cddde8..3e5bf783 100755 --- a/sources/demo/Simulation.cpp +++ b/sources/demo/Simulation.cpp @@ -60,7 +60,7 @@ void Simulation::start() { // Get the current time lastFrameTime = SDL_GetTicks(); - DynamicEngine* pEngine = &engine; + PhysicsEngine* pEngine = &engine; // Initialize the display time pEngine->initializeDisplayTime(Time(SDL_GetTicks()/1000.0)); diff --git a/sources/demo/Simulation.h b/sources/demo/Simulation.h index b5e70afe..788ad1e9 100755 --- a/sources/demo/Simulation.h +++ b/sources/demo/Simulation.h @@ -28,10 +28,10 @@ // Class Simulation class Simulation { private : - rp3d::PhysicsWorld* world; // Pointer to the collision world that contains bodies of the simulation + rp3d::PhysicsWorld* world; // Pointer to the collision world that contains bodies of the simulation Scene scene; // Scene object for displaying the simulation Context context; // Context of the simulation - rp3d::CollisionEngine engine; // Collision engine for the physics of the simulation + rp3d::PhysicsEngine engine; // Collision engine for the physics of the simulation bool simRunning; // True if the simulation is running and false otherwise bool mouseButtonPressed; // True if the left mouse button is pressed double lastFrameTime; // Last frame time