hopefully fixed region points
Dieser Commit ist enthalten in:
Ursprung
0a821936c6
Commit
a55499d031
@ -115,16 +115,16 @@ public class Prototype {
|
|||||||
switch (regionExtensionType) {
|
switch (regionExtensionType) {
|
||||||
case EXTENSION:
|
case EXTENSION:
|
||||||
return new Point(
|
return new Point(
|
||||||
region.minPoint.getX() + offsetX - extensionAxisX + (sizeX + extensionAxisX * 2),
|
region.minPoint.getX() + offsetX - extensionAxisX + (sizeX + extensionAxisX * 2) - 1,
|
||||||
region.minPoint.getY() + offsetY + sizeY + extensionPositiveY,
|
region.minPoint.getY() + offsetY + sizeY + extensionPositiveY - 1,
|
||||||
region.minPoint.getZ() + offsetZ - extensionNegativeZ + (sizeZ + extensionNegativeZ + extensionPositiveZ)
|
region.minPoint.getZ() + offsetZ - extensionNegativeZ + (sizeZ + extensionNegativeZ + extensionPositiveZ) - 1
|
||||||
);
|
);
|
||||||
default:
|
default:
|
||||||
case NORMAL:
|
case NORMAL:
|
||||||
return new Point(
|
return new Point(
|
||||||
region.minPoint.getX() + offsetX + sizeX,
|
region.minPoint.getX() + offsetX + sizeX - 1,
|
||||||
region.minPoint.getY() + offsetY + sizeY,
|
region.minPoint.getY() + offsetY + sizeY - 1,
|
||||||
region.minPoint.getZ() + offsetZ + sizeZ
|
region.minPoint.getZ() + offsetZ + sizeZ - 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren