Simplify Foreground
This commit is contained in:
@@ -14,7 +14,6 @@ floorWire :: Point2 -> Point2 -> ForegroundShape
|
||||
floorWire a b =
|
||||
defaultForeground
|
||||
& fsPos .~ m
|
||||
& fsRad .~ dist m a
|
||||
& fsSPic .~ noPic (colorSH yellow $ thinHighBar 0 a' b')
|
||||
where
|
||||
m = midPoint a b
|
||||
@@ -25,7 +24,6 @@ verticalWire :: Point2 -> Float -> Float -> ForegroundShape
|
||||
verticalWire p h1 h2 =
|
||||
defaultForeground
|
||||
& fsPos .~ p
|
||||
& fsRad .~ 2
|
||||
& fsSPic .~ noPic (colorSH yellow $ barPP 1.5 (V3 0 0 h1) (V3 0 0 h2))
|
||||
|
||||
putWireEnd :: Int -> (Point2, Float) -> Float -> Room -> Room
|
||||
|
||||
Reference in New Issue
Block a user