From c4e5184fb9788128d66f8f8a36885cd36dbf74f4 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 30 Jan 2020 17:58:40 +0100 Subject: Review physics examples to work on single-thread --- examples/web/physics/physics_restitution.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/web/physics/physics_restitution.c') diff --git a/examples/web/physics/physics_restitution.c b/examples/web/physics/physics_restitution.c index 15f8b25..ccd1610 100644 --- a/examples/web/physics/physics_restitution.c +++ b/examples/web/physics/physics_restitution.c @@ -101,6 +101,8 @@ void UpdateDrawFrame(void) { // Update //---------------------------------------------------------------------------------- + PhysicsStep(); + if (IsKeyPressed('R')) // Reset physics input { // Reset circles physics bodies position and velocity -- cgit v1.2.3