mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
added mode to primitive PShape of type ARC
This commit is contained in:
@@ -260,7 +260,7 @@ public class PGraphics3D extends PGraphicsOpenGL {
|
||||
shape = new PShapeOpenGL(parent, PShape.PRIMITIVE);
|
||||
shape.setKind(ELLIPSE);
|
||||
} else if (kind == ARC) {
|
||||
if (len != 6) {
|
||||
if (len != 6 && len != 7) {
|
||||
showWarning("Wrong number of parameters");
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user