Work towards using room positions rather than room links in placements
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ placeRoomWires rm w = IM.foldr ($) w
|
||||
$ IM.intersectionWith (placeWire rm) (_rmStartWires rm) (_rmEndWires rm)
|
||||
|
||||
placeWire :: Room -> RoomWire -> RoomWire -> World -> World
|
||||
placeWire rm (RoomWire p' _) (RoomWire q' _) w = w & foregroundShape %~ (thinHighBar 40 p q <>)
|
||||
placeWire rm (RoomWire p' _) (RoomWire q' _) w = w & foregroundShape %~ (thinHighBar 80 p q <>)
|
||||
where
|
||||
rs = _rmShift rm
|
||||
p = shiftPointBy rs p'
|
||||
|
||||
Reference in New Issue
Block a user