cleaning up coloring api

This commit is contained in:
benfry
2005-04-06 19:42:27 +00:00
parent cccc46ed28
commit 4032ba4c94
8 changed files with 270 additions and 250 deletions

View File

@@ -701,9 +701,10 @@ public class PGraphicsGL extends PGraphics3 {
syncMatrices();
}
//////////////////////////////////////////////////////////////
/*
//////////////////////////////////////////////////////////////
/*
public void endCamera() {
//System.out.println("PGraphicsGL.endCamera() 1");
super.endCamera();
@@ -936,8 +937,8 @@ public class PGraphicsGL extends PGraphics3 {
}
*/
protected void calc_fill() {
super.calc_fill();
protected void colorFill() {
super.colorFill();
gl.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_AMBIENT_AND_DIFFUSE,
new float[] { calcR, calcG, calcB, calcA });
}