Jean-Yves Lamoureux jylam 12 anni fa
parent
commit
d058092983
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      test/physics/lolphysics.h

+ 1
- 0
test/physics/lolphysics.h Vedi File

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



Caricamento…
Annulla
Salva