Skip to content

Commit

Permalink
Fixed mistaken order
Browse files Browse the repository at this point in the history
  • Loading branch information
Gutza committed Jan 2, 2021
1 parent e379f50 commit ef0dce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geometry/helpers/helperHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export function makeSafeRenderingArc(arc: CircleArc): CircleArc {
}

if (arc.isClockwise) {
return new CircleArc(arc.circle, arc.startAngle, arc.endAngle + TWO_PI, arc.startPoint, arc.endPoint, true);
return new CircleArc(arc.circle, arc.startAngle + TWO_PI, arc.endAngle, arc.startPoint, arc.endPoint, true);
} else {
return new CircleArc(arc.circle, arc.startAngle + TWO_PI, arc.endAngle, arc.startPoint, arc.endPoint, false);
return new CircleArc(arc.circle, arc.startAngle, arc.endAngle + TWO_PI, arc.startPoint, arc.endPoint, false);
}
}

0 comments on commit ef0dce9

Please sign in to comment.