Esempio n. 1
0
        public static FVector2 Normalize(FVector2 value)
        {
            fint magnitude = FVector2.Magnitude(value);

            if (magnitude.raw > 1)
            {
                return(value / magnitude);
            }
            return(FVector3.zero);
        }