- 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:
parent
bc62609746
commit
133d153bbb
@ -94,14 +94,6 @@ public class CapsuleCollisionShape extends CollisionShape{
|
|||||||
return axis;
|
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 {
|
public void write(JmeExporter ex) throws IOException {
|
||||||
super.write(ex);
|
super.write(ex);
|
||||||
OutputCapsule capsule = ex.getCapsule(this);
|
OutputCapsule capsule = ex.getCapsule(this);
|
||||||
|
@ -66,14 +66,6 @@ public class SphereCollisionShape extends CollisionShape {
|
|||||||
return radius;
|
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 {
|
public void write(JmeExporter ex) throws IOException {
|
||||||
super.write(ex);
|
super.write(ex);
|
||||||
OutputCapsule capsule = ex.getCapsule(this);
|
OutputCapsule capsule = ex.getCapsule(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user