Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-13 22:50:06 +01:00
Flip direction of //rotate to have it match previous behavior.
Dieser Commit ist enthalten in:
Ursprung
56b349ead8
Commit
955a52825f
@ -190,9 +190,9 @@ public class ClipboardCommands {
|
|||||||
|
|
||||||
ClipboardHolder holder = session.getClipboard();
|
ClipboardHolder holder = session.getClipboard();
|
||||||
AffineTransform transform = new AffineTransform();
|
AffineTransform transform = new AffineTransform();
|
||||||
transform = transform.rotateY(Math.toRadians(yRotate != null ? yRotate : 0));
|
transform = transform.rotateY(-Math.toRadians(yRotate != null ? yRotate : 0));
|
||||||
transform = transform.rotateX(Math.toRadians(xRotate != null ? xRotate : 0));
|
transform = transform.rotateX(-Math.toRadians(xRotate != null ? xRotate : 0));
|
||||||
transform = transform.rotateZ(Math.toRadians(zRotate != null ? zRotate : 0));
|
transform = transform.rotateZ(-Math.toRadians(zRotate != null ? zRotate : 0));
|
||||||
holder.setTransform(holder.getTransform().combine(transform));
|
holder.setTransform(holder.getTransform().combine(transform));
|
||||||
player.print("The clipboard copy has been rotated.");
|
player.print("The clipboard copy has been rotated.");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren