Continue to refactor zoning to be more stream-based
This commit is contained in:
@@ -108,7 +108,7 @@ drawInspectWalls w = foldMap (drawInspectWall w)
|
||||
drawInspectWall :: World -> Wall -> Picture
|
||||
drawInspectWall _ wl = setLayer DebugLayer $
|
||||
color rose (thickLine 3 [a,b])
|
||||
<> foldMap (drawZone zoneSize)
|
||||
<> foldMap (drawZone wallZoneSize)
|
||||
(runIdentity $ S.toList_ $ zoneOfWall wl)
|
||||
where
|
||||
(a,b) = _wlLine wl
|
||||
|
||||
Reference in New Issue
Block a user