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 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";