This commit is contained in:
codeanticode
2013-09-03 14:40:34 -04:00
parent 8d2b69b0c5
commit 7fd1455061
5 changed files with 98 additions and 54 deletions

View File

@@ -353,7 +353,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
shape = new PShapeOpenGL(parent, PShape.PRIMITIVE);
shape.setKind(RECT);
} else if (kind == ELLIPSE) {
if (len != 4) {
if (len != 4 && len != 5) {
showWarning("Wrong number of parameters");
return null;
}