Skip to content

Commit

Permalink
bug fix: rotateBy (1/4), not rotate (1/4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Yorgey committed Jan 14, 2014
1 parent c4d9c0d commit 174f7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Diagrams/TwoD/Arc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ bezierFromSweep s
| s < 0.0001 = []
| s < fullTurn/4 = [bezierFromSweepQ1 s]
| otherwise = bezierFromSweepQ1 (fullTurn/4)
: map (rotate (1/4)) (bezierFromSweep (max (s - fullTurn/4) 0))
: map (rotateBy (1/4)) (bezierFromSweep (max (s - fullTurn/4) 0))

{-
~~~~ Note [segment spacing]
Expand Down

0 comments on commit 174f7b4

Please sign in to comment.