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