Fix CORNER_OUTER_GLOBAL case

This commit is contained in:
2026-03-06 13:13:43 +01:00
parent 0bfa76e92d
commit 829e9413e6
@@ -60,6 +60,7 @@ public class PathArea implements Region.Area {
.Case(Path, Global, Path, SIDE_GLOBAL, RotationCorrection.WithCorrection)
.Case(Path, Path, Path, CENTER_NORMAL, RotationCorrection.UsingOrdinal)
.Case(Global, Global, Global, CORNER_OUTER_GLOBAL, RotationCorrection.UsingOrdinal)
.Case(Global, Global, Path, CORNER_OUTER_GLOBAL, RotationCorrection.UsingOrdinal)
.Case(Path, Path, Global, CORNER_INNER_GLOBAL, RotationCorrection.UsingOrdinal)
;
@@ -82,8 +83,8 @@ public class PathArea implements Region.Area {
protected enum Corner {
NorthEast(Side.North, Side.East, 14, 0, 0, -90),
NorthWest(Side.North, Side.West, 0, 0, 0, 90),
SouthEast(Side.South, Side.East, 14, 14, 180, 90),
SouthWest(Side.South, Side.West, 0, 14, 180, -90),
SouthEast(Side.South, Side.East, 14, 14, 180, 90),
;
protected final Side side1;