diff options
Diffstat (limited to 'examples/physics/physics_shatter.c')
| -rw-r--r-- | examples/physics/physics_shatter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/physics/physics_shatter.c b/examples/physics/physics_shatter.c index afabd775..e996a372 100644 --- a/examples/physics/physics_shatter.c +++ b/examples/physics/physics_shatter.c @@ -45,7 +45,7 @@ int main(void) { //---------------------------------------------------------------------------------- UpdatePhysics(); // Update physics system - + if (IsKeyPressed(KEY_R)) // Reset physics input { ResetPhysics(); @@ -59,7 +59,7 @@ int main(void) for (int i = count - 1; i >= 0; i--) { PhysicsBody currentBody = GetPhysicsBody(i); - + if (currentBody != NULL) PhysicsShatter(currentBody, GetMousePosition(), 10/currentBody->inverseMass); } } |
