From 21ee9ff0e67e4e9c2f999a559fdd7c169f19e309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Mon, 12 Feb 2018 12:09:39 +0100 Subject: [PATCH] Add min height for ball --- main_ball.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_ball.cpp b/main_ball.cpp index 75eda5f..93f6b8e 100644 --- a/main_ball.cpp +++ b/main_ball.cpp @@ -11,7 +11,7 @@ using namespace std; int main(int argc, char** argv) { int i; Point center(0,0,10); - Ball ball(center, 0, 1, 1); + Ball ball(center, 0, 0, 1, 1); for(i=0; i< 10000; i++) { ball.update_pos(0.001); cout << ball << "\n";