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