[C++] Tennis Ball Trajectory