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

Flip direction of //rotate to have it match previous behavior.

Dieser Commit ist enthalten in:
sk89q 2014-07-09 14:34:05 -07:00
Ursprung 56b349ead8
Commit 955a52825f

Datei anzeigen

@ -190,9 +190,9 @@ public class ClipboardCommands {
ClipboardHolder holder = session.getClipboard();
AffineTransform transform = new AffineTransform();
transform = transform.rotateY(Math.toRadians(yRotate != null ? yRotate : 0));
transform = transform.rotateX(Math.toRadians(xRotate != null ? xRotate : 0));
transform = transform.rotateZ(Math.toRadians(zRotate != null ? zRotate : 0));
transform = transform.rotateY(-Math.toRadians(yRotate != null ? yRotate : 0));
transform = transform.rotateX(-Math.toRadians(xRotate != null ? xRotate : 0));
transform = transform.rotateZ(-Math.toRadians(zRotate != null ? zRotate : 0));
holder.setTransform(holder.getTransform().combine(transform));
player.print("The clipboard copy has been rotated.");
}