- remove setScale override from Sphere and Box

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2013-02-21 12:32:45 +00:00
parent bc62609746
commit 133d153bbb
2 changed files with 0 additions and 16 deletions

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

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