/// <summary> /// Gets the angle between this vector and another vector /// </summary> /// <param name="left">The source vector</param> /// <param name="right">The target vector</param> /// <returns>The angle between the two vectors</returns> public static float GetAngle(this Vector2f left, Vector2f right) { return((float)VectorUtil.GetAngle(left, right)); }
public static Vector2f Rotate(this Vector2f self, float angle) { return(VectorUtil.GetRotatedVector(self, angle)); }