Add analysing machine
This commit is contained in:
@@ -35,7 +35,7 @@ makeLenses ''PosRooms
|
||||
|
||||
positionRoomsFromTree :: Tree RoomInt -> IO (Maybe PosRooms)
|
||||
positionRoomsFromTree (Node (r,i) ts) = printColumnTitles
|
||||
>> fmap (fmap (prRooms %~ (map $ first createUnusedLinkPos)))
|
||||
>> fmap (fmap (prRooms %~ map (first createUnusedLinkPos)))
|
||||
(posRms (PosRooms (map pointsToPoly $ _rmBound r') []) (r',i) (zipCount ts) Empty)
|
||||
where
|
||||
r' = r & rmMID ?~ 0
|
||||
|
||||
Reference in New Issue
Block a user