Move main to allow for new executables
This commit is contained in:
@@ -59,8 +59,8 @@ This is intended to work when the external point is an outgoing link from anothe
|
||||
shiftRoomToLink :: (Point2,Float) -> Room -> Room
|
||||
shiftRoomToLink l r
|
||||
= shiftRoomBy l
|
||||
. shiftRoomBy ((V2 0 0) -.- rotateV (pi-a) p , 0)
|
||||
$ shiftRoomBy ((V2 0 0) ,pi-a)
|
||||
. shiftRoomBy (V2 0 0 -.- rotateV (pi-a) p , 0)
|
||||
$ shiftRoomBy (V2 0 0 ,pi-a)
|
||||
r
|
||||
where
|
||||
(p,a) = last $ _rmLinks r
|
||||
|
||||
Reference in New Issue
Block a user