getting camera() into PGraphics, last of faq stuff, starting 0085

This commit is contained in:
benfry
2005-04-19 06:46:55 +00:00
parent 7fb6e41a30
commit 03f4b8a8c3
6 changed files with 101 additions and 69 deletions

View File

@@ -6054,6 +6054,20 @@ v PApplet.this.stop();
}
public void camera() {
if (recorder != null) recorder.camera();
g.camera();
}
public void camera(float eyeX, float eyeY, float eyeZ,
float centerX, float centerY, float centerZ,
float upX, float upY, float upZ) {
if (recorder != null) recorder.camera(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
g.camera(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
}
public void ortho() {
if (recorder != null) recorder.ortho();
g.ortho();