finished cleaning PGraphics3

This commit is contained in:
benfry
2005-02-27 20:19:53 +00:00
parent 7a351619c6
commit 5b65f762f2
6 changed files with 266 additions and 144 deletions

View File

@@ -262,6 +262,8 @@ public class PApplet extends Applet
public void depth() {
// OPT if PGraphics already exists, pass in its pixels[]
// buffer so as not to re-allocate all that memory again
if (g.width != 0) {
g = new PGraphics3(g.width, g.height);
} else {
@@ -4670,9 +4672,9 @@ v PApplet.this.stop();
}
public void arc(float start, float stop,
float a, float b, float c, float d) {
g.arc(start, stop, a, b, c, d);
public void arc(float a, float b, float c, float d,
float start, float stop) {
g.arc(a, b, c, d, start, stop);
}