git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@294 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
05cb6572e2
commit
c4c6a3969b
|
@ -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));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user