Well, That Could Have Something To Do With It…
public CvPoint GetAverageVelocity()
{
   double avgX = BombPositions.Average(bomb => bomb.X);
   double avgY = BombPositions.Average(bomb => bomb.Y);
   return new CvPoint((int)avgX, (int)avgY);
}
{
   double avgX = BombPositions.Average(bomb => bomb.X);
   double avgY = BombPositions.Average(bomb => bomb.Y);
   return new CvPoint((int)avgX, (int)avgY);
}
And that’s why I don’t work for NASA.
0 comments
Kick things off by filling out the form below.
Leave a Comment