Add extra debug options for viewing room clipping

This commit is contained in:
2022-03-21 07:57:21 +00:00
parent d6285c45b3
commit 13e8ea85d2
5 changed files with 16 additions and 14 deletions
-4
View File
@@ -170,8 +170,6 @@ quarterRoomTri w = do
]
, _rmBound = [[V2 0 0,V2 w w,V2 (-w) w]]
}
-- where
-- w' = w -10
quarterRoomSquare :: RandomGen g => Float -> State g Room
quarterRoomSquare w = do
@@ -211,8 +209,6 @@ quarterRoomSquare w = do
--, _rmBound = [map toV2 [(w,w),(0,2*w),(-w,w)]]
, _rmBound = [ map toV2 [(0,0),(w,w),(0,2*w),(-w,w)] ]
}
-- where
-- w' = w - 10
{- | Randomise the ordering of placements in a room.
Useful for randomising the position of generic placements such as 'PutNothing'. -}
shufflePlacements :: RandomGen g => Room -> State g Room