From 247528fe63f7ad39d9ee550b07a9eb521d0331e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Mon, 12 Feb 2018 13:19:56 +0100 Subject: [PATCH] Horizontal drift --- main_ball.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_ball.cpp b/main_ball.cpp index 93f6b8e..00fb7c4 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, 0, 1, 1); + Ball ball(center, 0, 0.25, 1, 1); for(i=0; i< 10000; i++) { ball.update_pos(0.001); cout << ball << "\n";