EllipsoidRegion's constructor now takes radius, not offset radius.

This commit is contained in:
TomyLobo 2012-01-03 17:26:22 +01:00
parent 3a828c9759
commit 0138cd7f1c
2 changed files with 3 additions and 3 deletions

View File

@ -59,11 +59,11 @@ public class EllipsoidRegion extends AbstractRegion {
public EllipsoidRegion(LocalWorld world, Vector center, Vector radius) {
super(world);
this.center = center;
this.radius = radius;
setRadius(radius);
}
public EllipsoidRegion(EllipsoidRegion ellipsoidRegion) {
this(ellipsoidRegion.world, ellipsoidRegion.center, ellipsoidRegion.radius);
this(ellipsoidRegion.world, ellipsoidRegion.center, ellipsoidRegion.getRadius());
}
/**