mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
latest of simon's lighting changes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user