From 46e2e90eded20e4af6dc3a3dcd9dd5bc69b20d09 Mon Sep 17 00:00:00 2001 From: Casey Reas Date: Sat, 1 Sep 2012 15:39:24 +0000 Subject: [PATCH] Change the shape() params to use a,b not x,y --- core/src/processing/core/PApplet.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 06a20bf17..6a1ddc466 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -1336,7 +1336,7 @@ public class PApplet extends Applet * @see PApplet#loop() * @see PApplet#noLoop() * @see PApplet#redraw() - * @see PApplet#frameRate() + * @see PApplet#frameRate(float) */ public void draw() { // if no draw method, then shut things down @@ -2060,7 +2060,7 @@ public class PApplet extends Applet * @see PApplet#draw() * @see PApplet#loop() * @see PApplet#noLoop() - * @see PApplet#frameRate() + * @see PApplet#frameRate(float) */ synchronized public void redraw() { if (!looping) { @@ -11343,17 +11343,17 @@ public class PApplet extends Applet * * @webref shape:loading_displaying * @param shape the shape to display - * @param x x-coordinate of the shape - * @param y y-coordinate of the shape + * @param a x-coordinate of the shape + * @param b y-coordinate of the shape * @see PShape * @see PApplet#loadShape(String) * @see PGraphics#shapeMode(int) * * Convenience method to draw at a particular location. */ - public void shape(PShape shape, float x, float y) { - if (recorder != null) recorder.shape(shape, x, y); - g.shape(shape, x, y); + public void shape(PShape shape, float a, float b) { + if (recorder != null) recorder.shape(shape, a, b); + g.shape(shape, a, b); }