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 new BoundingSphere(radius,
(center != null ? (Vector3f) center.clone() : null));
return new BoundingSphere(radius, center.clone());
}
/**

Loading…
Cancel
Save