Function for adding random lights to roomNGon
This commit is contained in:
@@ -181,7 +181,8 @@ spanColLightBlackI col h a b =
|
||||
V2 x y = 0.5 *.* (a +.+ b)
|
||||
|
||||
spanLightI :: Point2 -> Point2 -> Placement
|
||||
spanLightI = spanColLightI 0.75 50.1
|
||||
--spanLightI = spanColLightI 0.75 50.1
|
||||
spanLightI = spanColLightI 0.75 95
|
||||
|
||||
spanLightY :: Point2 -> Point2 -> Point2 -> Point2 -> Placement
|
||||
spanLightY l x y z =
|
||||
@@ -191,7 +192,7 @@ spanLightY l x y z =
|
||||
sps0 $ f z
|
||||
where
|
||||
f p = putShape $ thinHighBar h p (l + normalize (l-p))
|
||||
h = 50
|
||||
h = 95
|
||||
|
||||
--extendAway :: Point2 -> Point2 -> Point2
|
||||
--extendAway p x = p +.+ squashNormalizeV (p -.- x)
|
||||
|
||||
Reference in New Issue
Block a user