summaryrefslogtreecommitdiffhomepage
path: root/examples/web/physics/physics_shatter.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/physics/physics_shatter.c')
-rw-r--r--examples/web/physics/physics_shatter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/web/physics/physics_shatter.c b/examples/web/physics/physics_shatter.c
index 832bed0..cf4bd34 100644
--- a/examples/web/physics/physics_shatter.c
+++ b/examples/web/physics/physics_shatter.c
@@ -90,6 +90,8 @@ void UpdateDrawFrame(void)
{
// Update
//----------------------------------------------------------------------------------
+ PhysicsStep();
+
if (IsKeyPressed('R')) // Reset physics input
{
ResetPhysics();