Cascade.MyMath.LengthDirY C# (CSharp) Метод

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

public static LengthDirY ( float Length, float Direction ) : float
Length float
Direction float
Результат float
        public static float LengthDirY(float Length, float Direction)
        {
            return -(float)Math.Sin(MathHelper.ToRadians(Direction)) * Length;
        }
        public static Vector2 LengthDir(float Length, float Direction)