Example #1
0
 /// <summary>
 /// Calculates the angle between this vector
 /// and one other vector
 /// </summary>
 /// <param name="other">Vector to use for calculations</param>
 /// <returns>Angle, in degrees, between the two vectors</returns>
 public float AngleBetween(Vector other)
 {
     return (float)Math.Acos(Normalize() * other.Normalize() * 180f / PI);
 }