forked from SteamWar/SteamWar
Fix CORNER_OUTER_GLOBAL case
This commit is contained in:
+2
-1
@@ -60,6 +60,7 @@ public class PathArea implements Region.Area {
|
|||||||
.Case(Path, Global, Path, SIDE_GLOBAL, RotationCorrection.WithCorrection)
|
.Case(Path, Global, Path, SIDE_GLOBAL, RotationCorrection.WithCorrection)
|
||||||
.Case(Path, Path, Path, CENTER_NORMAL, RotationCorrection.UsingOrdinal)
|
.Case(Path, Path, Path, CENTER_NORMAL, RotationCorrection.UsingOrdinal)
|
||||||
.Case(Global, Global, Global, CORNER_OUTER_GLOBAL, 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)
|
.Case(Path, Path, Global, CORNER_INNER_GLOBAL, RotationCorrection.UsingOrdinal)
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -82,8 +83,8 @@ public class PathArea implements Region.Area {
|
|||||||
protected enum Corner {
|
protected enum Corner {
|
||||||
NorthEast(Side.North, Side.East, 14, 0, 0, -90),
|
NorthEast(Side.North, Side.East, 14, 0, 0, -90),
|
||||||
NorthWest(Side.North, Side.West, 0, 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),
|
SouthWest(Side.South, Side.West, 0, 14, 180, -90),
|
||||||
|
SouthEast(Side.South, Side.East, 14, 14, 180, 90),
|
||||||
;
|
;
|
||||||
|
|
||||||
protected final Side side1;
|
protected final Side side1;
|
||||||
|
|||||||
Reference in New Issue
Block a user