mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix edge condition in stroke edge for arcs (#2854)
This commit is contained in:
@@ -8185,7 +8185,8 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
addEdge(pidx, idx, i == 0, false);
|
||||
} else if (0 < i) {
|
||||
// when drawing full circle, the edge is closed later
|
||||
addEdge(pidx, idx, i == inc, i == length && !fullCircle);
|
||||
addEdge(pidx, idx, i == PApplet.min(inc, length),
|
||||
i == length && !fullCircle);
|
||||
}
|
||||
}
|
||||
} while (i < length);
|
||||
|
||||
Reference in New Issue
Block a user