Cascade.MyMath.LengthDirX C# (CSharp) Method

LengthDirX() public static method

public static LengthDirX ( float Length, float Direction ) : float
Length float
Direction float
return 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)