Hlinting
This commit is contained in:
@@ -48,8 +48,9 @@ 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 ((0,0) -.- (rotateV (pi-a) p),0)
|
||||
$ shiftRoomBy ((0,0),pi-a) r
|
||||
. shiftRoomBy ((0,0) -.- rotateV (pi-a) p , 0)
|
||||
$ shiftRoomBy ((0,0) ,pi-a)
|
||||
r
|
||||
where
|
||||
(p,a) = last $ _rmLinks r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user