Cleanup
This commit is contained in:
+2
-2
@@ -168,10 +168,10 @@ gameRoomFromRoom rm = GameRoom
|
||||
[p +.+ 10 *.* unitVectorAtAngle a
|
||||
,p -.- 10 *.* unitVectorAtAngle a
|
||||
]
|
||||
unpos (UsedOutLink _ p a) = doubleShift p a
|
||||
unpos (UsedOutLink _ _ p a) = doubleShift p a
|
||||
unpos (UsedInLink _ p a) = doubleShift p a
|
||||
unpos _ = []
|
||||
undir (UsedOutLink _ _ a) = Just $ 0.5*pi + a + snd (_rmShift rm)
|
||||
undir (UsedOutLink _ _ _ a) = Just $ 0.5*pi + a + snd (_rmShift rm)
|
||||
undir (UsedInLink _ _ a) = Just $ 0.5*pi + a + snd (_rmShift rm)
|
||||
undir _ = Nothing
|
||||
closePoints x y = roundPoint2 x == roundPoint2 y
|
||||
|
||||
Reference in New Issue
Block a user