Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
RonenNess committed Jan 19, 2015
1 parent a9afec7 commit df7b028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/BasicPhysics/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit df7b028

Please sign in to comment.