From df7b028dc5671e6603beba7fb371e034dafd6c6b Mon Sep 17 00:00:00 2001 From: Ronen Ness Date: Mon, 19 Jan 2015 20:18:57 +0000 Subject: [PATCH] .. --- examples/BasicPhysics/source/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/BasicPhysics/source/main.cpp b/examples/BasicPhysics/source/main.cpp index 7ec8045..cb0f9f5 100644 --- a/examples/BasicPhysics/source/main.cpp +++ b/examples/BasicPhysics/source/main.cpp @@ -8,7 +8,7 @@ #include "debug_draw.h" // advance the physical simulator steps (must be called every frame to do physics) -void physics_step(b2World& world, float msdelta) +void physics_step(b2World& world) { static Uint32 time = Ness::get_ticks(); static Uint32 lasttime = time; @@ -152,7 +152,7 @@ int _tmain(int argc, _TCHAR* argv[]) // render renderer.start_frame(); scene->render(); - physics_step(world, renderer.time_factor() * 1000.0f); + physics_step(world); world.DrawDebugData(); renderer.end_frame(); }