diff options
-rw-r--r-- | JnR.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -572,7 +572,6 @@ public: | |||
572 | double vart = (sin(t))/7; | 572 | double vart = (sin(t))/7; |
573 | g_x = g*sin(vart); | 573 | g_x = g*sin(vart); |
574 | g_y = - g*cos(vart); | 574 | g_y = - g*cos(vart); |
575 | cout << g_x << endl; | ||
576 | if(y_pos > ground_level+ball_rad) | 575 | if(y_pos > ground_level+ball_rad) |
577 | { | 576 | { |
578 | y_vel = y_vel*(1.0-c_r) + g_y/60; | 577 | y_vel = y_vel*(1.0-c_r) + g_y/60; |