Cleanup
This commit is contained in:
+2
-1
@@ -145,7 +145,8 @@ addEdges nodemap gr = foldl' f (mempty, gr)
|
||||
theedgedata = PathEdgeNodes (g a) (g b) (PathEdge a b (dist a b) mempty)
|
||||
g a = nodemap M.! a
|
||||
|
||||
obstructPathsCrossing :: EdgeObstacle -> Point2 -> Point2 -> World -> (World, Set PathEdgeNodes)
|
||||
obstructPathsCrossing :: EdgeObstacle -> Point2 -> Point2 -> World
|
||||
-> (World, Set PathEdgeNodes)
|
||||
obstructPathsCrossing obstacletype sp' ep w =
|
||||
( w & cWorld . pathGraph %~ updateedges
|
||||
, es
|
||||
|
||||
Reference in New Issue
Block a user