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_friction.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/web/physics/physics_friction.c') diff --git a/examples/web/physics/physics_friction.c b/examples/web/physics/physics_friction.c index 2b328a8..78353e6 100644 --- a/examples/web/physics/physics_friction.c +++ b/examples/web/physics/physics_friction.c @@ -115,6 +115,8 @@ void UpdateDrawFrame(void) { // Update //---------------------------------------------------------------------------------- + PhysicsStep(); + if (IsKeyPressed('R')) // Reset physics input { // Reset dynamic physics bodies position, velocity and rotation -- cgit v1.2.3