public static void SetMaximumLength(this SCNVector3 vector3, float maxLength) { if (vector3.LengthFast > maxLength) { vector3.SetLength(maxLength); } }
public static void SetMaximumLength(this SCNVector3 vector3, float maxLength) { if (vector3.LengthFast > maxLength) { vector3.SetLength(maxLength); } }