latest of simon's lighting changes

This commit is contained in:
benfry
2005-04-17 15:26:10 +00:00
parent 5b33f39a0e
commit f6b54de7f8
5 changed files with 831 additions and 437 deletions

View File

@@ -6327,6 +6327,12 @@ v PApplet.this.stop();
}
public void ambientLight(float red, float green, float blue, float x, float y, float z) {
if (recorder != null) recorder.ambientLight(red, green, blue, x, y, z);
g.ambientLight(red, green, blue, x, y, z);
}
public void directionalLight(float red, float green, float blue,
float nx, float ny, float nz) {
if (recorder != null) recorder.directionalLight(red, green, blue, nx, ny, nz);