Bläddra i källkod

* Physics

legacy
Jean-Yves Lamoureux jylam 13 år sedan
förälder
incheckning
d058092983
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. +1
    -0
      test/physics/lolphysics.h

+ 1
- 0
test/physics/lolphysics.h Visa fil

@@ -115,6 +115,7 @@ public:
//the "+1" is to have at least one Timestep and to ensure float to int .5f conversion. //the "+1" is to have at least one Timestep and to ensure float to int .5f conversion.
int steps = (int)(seconds / m_timestep) + 1; int steps = (int)(seconds / m_timestep) + 1;
m_dynamics_world->stepSimulation(seconds, steps, m_timestep); m_dynamics_world->stepSimulation(seconds, steps, m_timestep);
printf("STEP\n");
} }
} }




Laddar…
Avbryt
Spara