public static float angleBetweenVectors(Vector2 a, Vector2 b) { return (float)Math.Acos(Vector2.Dot(a, b) / (a.Length() * b.Length())); }