Add min height for ball
This commit is contained in:
parent
0f70e4e023
commit
21ee9ff0e6
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue