Add explicit door position field
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
module Dodge.Placement.Instance.Door where
|
||||
module Dodge.Placement.Instance.Door
|
||||
( putDoubleDoor
|
||||
, putAutoDoor
|
||||
, putDoubleDoorThen
|
||||
, switchDoor -- not used 9/3/22
|
||||
) where
|
||||
import Dodge.Data
|
||||
import Dodge.Base
|
||||
import Color
|
||||
@@ -19,8 +24,6 @@ putDoubleDoorThen pathing col cond a b speed mayp = ps0j (PutSlideDr pathing col
|
||||
where
|
||||
half = 0.5 *.* (a +.+ b)
|
||||
|
||||
|
||||
|
||||
putAutoDoor :: Point2 -> Point2 -> Placement
|
||||
putAutoDoor a b = PlacementUsingPos (addZ 0 a)
|
||||
$ \az -> PlacementUsingPos (addZ 0 b)
|
||||
|
||||
Reference in New Issue
Block a user