Room with doors and central ledge terminal
This commit is contained in:
@@ -19,6 +19,14 @@ rectNSWE !n !s !w !e = [V2 w n, V2 w s, V2 e s, V2 e n]
|
||||
rectWH :: Float -> Float -> [Point2]
|
||||
rectWH w h = rectNSWE h (- h) (- w) w
|
||||
|
||||
trapTBH :: Float -> Float -> Float -> [Point2]
|
||||
trapTBH t b h =
|
||||
[ V2 (-b) (-h)
|
||||
, V2 b (-h)
|
||||
, V2 t h
|
||||
, V2 (-t) h
|
||||
]
|
||||
|
||||
isotriBWH :: Point2 -> Float -> Float -> [Point2]
|
||||
isotriBWH (V2 x y) w h = [V2 (x - w) y, V2 (x + w) y, V2 x (y + h)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user