Blink.Utilities.VectorMath.angleBetweenVectors C# (CSharp) Метод

angleBetweenVectors() публичный статический Метод

public static angleBetweenVectors ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
Результат float
        public static float angleBetweenVectors(Vector2 a, Vector2 b)
        {
            return (float)Math.Acos(Vector2.Dot(a, b) / (a.Length() * b.Length()));
        }