diff options
Diffstat (limited to 'examples/physics_forces.c')
| -rw-r--r-- | examples/physics_forces.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/physics_forces.c b/examples/physics_forces.c index 3e90a21d..28566753 100644 --- a/examples/physics_forces.c +++ b/examples/physics_forces.c @@ -27,7 +27,6 @@ int main() int screenHeight = 450; InitWindow(screenWidth, screenHeight, "raylib [physac] example - forces"); - InitPhysics((Vector2){ 0.0f, -9.81f/2 }); // Initialize physics module // Global variables @@ -69,7 +68,6 @@ int main() { // Update //---------------------------------------------------------------------------------- - UpdatePhysics(); // Update all created physic objects // Update mouse position value mousePosition = GetMousePosition(); @@ -173,9 +171,8 @@ int main() } // De-Initialization - //-------------------------------------------------------------------------------------- + //-------------------------------------------------------------------------------------- ClosePhysics(); // Unitialize physics module - CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- |
