Esempio n. 1
0
 /// <summary>
 /// Returns a vector that points to the defined direction (x, y) but has length equal to 1.
 /// </summary>
 public Vector2D GetUnitVector()
 {
     return(SexyMath.UnitVector(X, Y));
 }