Commit before adding more debugging control
This commit is contained in:
@@ -118,6 +118,7 @@ pairsToIncGraph pairs =
|
||||
inodes = UV.generate (length ps) (ps !!)
|
||||
ps = Set.toList $ Set.map fst pairs <> Set.map snd pairs
|
||||
|
||||
-- consider updating all path edges at the end of world generation?
|
||||
obstructPathsCrossing :: S.Set EdgeObstacle -> Point2 -> Point2 -> World -> World
|
||||
obstructPathsCrossing obs s e w = w & cWorld . incGraph %~ updateincedges
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user