OSDN Git Service

- remove setScale override from Sphere and Box
authornormen667 <normen667@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Thu, 21 Feb 2013 12:32:45 +0000 (12:32 +0000)
committernormen667 <normen667@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Thu, 21 Feb 2013 12:32:45 +0000 (12:32 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java
engine/src/jbullet/com/jme3/bullet/collision/shapes/SphereCollisionShape.java

index c7bcafc..a8fce13 100644 (file)
@@ -94,14 +94,6 @@ public class CapsuleCollisionShape extends CollisionShape{
         return axis;
     }
 
-    /**
-     * WARNING - CompoundCollisionShape scaling has no effect.
-     */
-    @Override
-    public void setScale(Vector3f scale) {
-        Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "CapsuleCollisionShape cannot be scaled");
-    }
-
     public void write(JmeExporter ex) throws IOException {
         super.write(ex);
         OutputCapsule capsule = ex.getCapsule(this);
index 5e8848c..fb6976a 100644 (file)
@@ -66,14 +66,6 @@ public class SphereCollisionShape extends CollisionShape {
         return radius;
     }
 
-    /**
-     * WARNING - CompoundCollisionShape scaling has no effect.
-     */
-    @Override
-    public void setScale(Vector3f scale) {
-        Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "SphereCollisionShape cannot be scaled");
-    }
-
     public void write(JmeExporter ex) throws IOException {
         super.write(ex);
         OutputCapsule capsule = ex.getCapsule(this);