Add min height for ball

This commit is contained in:
Rémi Oudin 2018-02-12 12:09:39 +01:00
parent 0f70e4e023
commit 21ee9ff0e6

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, 1, 1);
Ball ball(center, 0, 0, 1, 1);
for(i=0; i< 10000; i++) {
ball.update_pos(0.001);
cout << ball << "\n";