public static FVector3 Normalize(FVector3 value) { fint magnitude = FVector3.Magnitude(value); if (magnitude.raw > 1) { return(value / magnitude); } return(FVector3.zero); }
public void Normalize() { fint num = FVector3.Magnitude(this); if (num.raw > 1) { this /= num; } else { this = FVector3.zero; } }