BoundingSphere: remove useless null check

experimental
shadowislord 10 years ago
parent 4f15fa3147
commit f0fbdffb85
  1. 3
      jme3-core/src/main/java/com/jme3/bounding/BoundingSphere.java

@ -640,8 +640,7 @@ public class BoundingSphere extends BoundingVolume {
return rVal; return rVal;
} }
return new BoundingSphere(radius, return new BoundingSphere(radius, center.clone());
(center != null ? (Vector3f) center.clone() : null));
} }
/** /**

Loading…
Cancel
Save