3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-10 05:20:04 +01:00

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

Dieser Commit ist enthalten in:
TomyLobo 2012-01-03 17:26:22 +01:00
Ursprung 3a828c9759
Commit 0138cd7f1c
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

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