Ejemplo n.º 1
0
 public void ApplyOn(Vector2D v)
 {
     v.Translate(this.x, this.y);
 }
Ejemplo n.º 2
0
 static double DistanceToCenterSq(Vector2D point)
 {
     return point.X * point.X + point.Y * point.Y;
 }
Ejemplo n.º 3
0
 public void ApplyOn(Vector2D v)
 {
     v.Rotate(this.angleRads);
 }