示例#1
0
 public Trajectory.Point[] GetFutureTrajectory(Trajectory.Point pivot)
 {
     Trajectory.Point[] future = new Trajectory.Point[50];
     for (int i = 0; i < 50; i++)
     {
         int index = pivot.GetIndex() + i + 1;
         index     = index % Trajectory.Points.Length;
         future[i] = Trajectory.Points[index];
     }
     return(future);
 }