Correct room link position numbering
This commit is contained in:
+4
-3
@@ -69,9 +69,10 @@ placeRoomWires rm w = IM.foldr ($) w
|
||||
|
||||
placeWire :: Room -> RoomWire -> RoomWire -> World -> World
|
||||
placeWire rm (WallWire p _ h1) (WallWire q _ h2) = foregroundShape
|
||||
%~ (col ( (thinHighBarChain h2 $ map (shiftPointBy rs) doOrdering) <>
|
||||
(barPP 1.5 (addZ h1 p) (addZ h2 p))
|
||||
) <>
|
||||
%~ (col ( thinHighBarChain h2 (map (shiftPointBy rs) doOrdering)
|
||||
<> barPP 1.5 (addZ h1 p) (addZ h2 p)
|
||||
)
|
||||
<>
|
||||
)
|
||||
where
|
||||
--TODO use rmWalls for non convex rooms
|
||||
|
||||
Reference in New Issue
Block a user