Procházet zdrojové kódy

- remove setScale override from Sphere and Box

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 před 12 roky
rodič
revize
133d153bbb

+ 0 - 8
engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java

@@ -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);

+ 0 - 8
engine/src/jbullet/com/jme3/bullet/collision/shapes/SphereCollisionShape.java

@@ -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);