()
| 183 | } |
| 184 | |
| 185 | public Box rotateLeft() { |
| 186 | Matrix4i mat = Matrix4i.makeRotLeftTranslatePositive(this); |
| 187 | BlockPos newMin = mat.multiplyPosition(min); |
| 188 | BlockPos newMax = mat.multiplyPosition(max); |
| 189 | return new Box(newMin, newMax); |
| 190 | } |
| 191 | |
| 192 | @Override |
| 193 | public String toString() { |