Horizontal drift

This commit is contained in:
Rémi Oudin 2018-02-12 13:19:56 +01:00
parent 21ee9ff0e6
commit 247528fe63

View file

@ -11,7 +11,7 @@ using namespace std;
int main(int argc, char** argv) { int main(int argc, char** argv) {
int i; int i;
Point center(0,0,10); 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++) { for(i=0; i< 10000; i++) {
ball.update_pos(0.001); ball.update_pos(0.001);
cout << ball << "\n"; cout << ball << "\n";