Cleanup
This commit is contained in:
@@ -47,7 +47,7 @@ targetDraw f cr _ _ = fromMaybe mempty $ do
|
||||
|
||||
activeTargetCursorPic :: Picture
|
||||
activeTargetCursorPic =
|
||||
pictures
|
||||
fold
|
||||
[rotate a $ line [V2 15 0, V2 10 0] <> targCorner | a <- [0, 0.5 * pi, pi, 1.5 * pi]]
|
||||
|
||||
transMidLine :: Point2 -> Point2 -> Picture -> Picture
|
||||
@@ -73,4 +73,4 @@ targCorner = line [V2 (x - y) x, V2 x x, V2 x (x - y)]
|
||||
y = 5
|
||||
|
||||
targetCursorPic :: Picture
|
||||
targetCursorPic = pictures [rotate a targCorner | a <- [0, 0.5 * pi, pi, 1.5 * pi]]
|
||||
targetCursorPic = fold [rotate a targCorner | a <- [0, 0.5 * pi, pi, 1.5 * pi]]
|
||||
|
||||
Reference in New Issue
Block a user