summaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 50ccd47..830b229 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -33,9 +33,7 @@ int main(void)
// Draw
//----------------------------------------------------------------------------------
- for (int i = 0; i < 50000; i++) {
- Physics::step(0.001);
- }
+ Physics::step(0.001,50000);
std::cout << std::to_string(Vector2Distance(Physics::ship.position, Physics::rock.position)) << std::endl;
BeginDrawing();