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