Add alcoves for switches in push room

This commit is contained in:
2026-03-29 19:48:31 +01:00
parent 00999f5921
commit 1919757fca
3 changed files with 110 additions and 76 deletions
+8 -1
View File
@@ -7,8 +7,15 @@ import Geometry
cardList :: [CardinalPoint]
cardList = [North, East, South, West]
cardReverse :: CardinalPoint -> CardinalPoint
cardReverse = \case
North -> South
South -> North
East -> West
West -> East
cardVec :: CardinalPoint -> Point2
cardVec cp = case cp of
cardVec = \case
North -> V2 0 1
South -> V2 0 (-1)
East -> V2 1 0