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

update //flip axis to modern directions

tested and working with:
-no args when looking horizontally and vertically
-n/s/e/w
-f/b/l/r/u/d
Dieser Commit ist enthalten in:
Jim Bilbrey 2013-01-14 00:53:38 -05:00 committet von Wizjany
Ursprung 1a0064bf4f
Commit 2b29d1a253

Datei anzeigen

@ -195,7 +195,7 @@ public class CuboidClipboard {
final int height = getHeight();
switch (dir) {
case NORTH_SOUTH:
case WEST_EAST:
final int wid = (int) Math.ceil(width / 2.0f);
for (int xs = 0; xs < wid; ++xs) {
for (int z = 0; z < length; ++z) {
@ -214,7 +214,7 @@ public class CuboidClipboard {
break;
case WEST_EAST:
case NORTH_SOUTH:
final int len = (int) Math.ceil(length / 2.0f);
for (int zs = 0; zs < len; ++zs) {
for (int x = 0; x < width; ++x) {