Fix off-by-epsilon error in `push_arc` that was breaking the Moiré demo

This commit is contained in:
Patrick Walton 2019-05-21 20:24:04 -07:00
parent 2131724a2a
commit cd23d62f3d
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ impl Contour {
mut end_angle: f32) {
start_angle %= TWO_PI;
end_angle %= TWO_PI;
if end_angle < start_angle {
if end_angle <= start_angle {
end_angle += TWO_PI;
}