Horizontal drift
This commit is contained in:
parent
21ee9ff0e6
commit
247528fe63
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue