depthtest as a hint, a few more public variables

This commit is contained in:
benfry
2004-07-08 21:38:26 +00:00
parent f6f49923e6
commit 3e2a0aa9e5
5 changed files with 12 additions and 9 deletions

View File

@@ -44,11 +44,11 @@ public class PGraphics extends PImage implements PConstants {
int pixelCount;
//public int pixels[]; // wtf? appletviewer wants this pubic
int stencil[]; // stencil buffer used to antialias polygons
float zbuffer[];
public int stencil[]; // stencil buffer used to antialias polygons
public float zbuffer[];
//boolean zbufferTainted;
boolean depthTest;
//boolean depthTest;
//int frameCount;
@@ -439,7 +439,7 @@ public class PGraphics extends PImage implements PConstants {
*/
public void defaults() {
//frameCount = 0;
depthTest = true;
//depthTest = true;
colorMode(RGB, TFF);
fill(TFF);
stroke(0);