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

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

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