Fix off-by-epsilon error in `push_arc` that was breaking the Moiré demo
This commit is contained in:
parent
2131724a2a
commit
cd23d62f3d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue