Rotate clockwise by 90 degrees. @return the relative rotation
()
| 51 | * @return the relative rotation |
| 52 | */ |
| 53 | @NotNull |
| 54 | public Rotation rotateClockwise() { |
| 55 | return rotations[(this.ordinal() + 1) & 0x7]; |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * Rotate counter-clockwise by 90 degrees. |