public static Vector3L Normalize(Vector3L value) { FloatL num = Vector3L.Magnitude(value); if (num > FloatL.Epsilon) { return(value / num); } return(Vector3L.zero); }
public void Normalize() { FloatL num = Vector3L.Magnitude(this); if (num > FloatL.Epsilon) { this /= num; } else { this = Vector3L.zero; } }