Skip to content

Commit

Permalink
Fix line rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko authored Mar 11, 2024
1 parent 676f93d commit ddc8ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transform.ml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ let rec rotate degrees = function
| Circle circle' -> Circle { circle' with c = rotate_point degrees circle'.c }
| Ellipse ellipse' ->
Ellipse { ellipse' with c = rotate_point degrees ellipse'.c }
| Line line' -> Line { line' with b = rotate_point degrees line'.b }
| Line line' -> Line { line' with a = rotate_point degrees line'.a; b = rotate_point degrees line'.b }
| Polygon polygon' ->
Polygon
{
Expand Down

0 comments on commit ddc8ef2

Please sign in to comment.