mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Added glCullFace.
This commit is contained in:
@@ -134,10 +134,14 @@ public class PGL {
|
||||
|
||||
public static final int GL_LESS = GLES20.GL_LESS;
|
||||
public static final int GL_LEQUAL = GLES20.GL_LEQUAL;
|
||||
|
||||
public static final int GL_CCW = GLES20.GL_CCW;
|
||||
public static final int GL_CW = GLES20.GL_CW;
|
||||
public static final int GL_FRONT = GLES20.GL_FRONT;
|
||||
public static final int GL_BACK = GLES20.GL_BACK;
|
||||
public static final int GL_CW = GLES20.GL_CW;
|
||||
|
||||
public static final int GL_CULL_FACE = GLES20.GL_CULL_FACE;
|
||||
public static final int GL_FRONT = GLES20.GL_FRONT;
|
||||
public static final int GL_BACK = GLES20.GL_BACK;
|
||||
public static final int GL_FRONT_AND_BACK = GLES20.GL_FRONT_AND_BACK;
|
||||
|
||||
public static final int GL_VIEWPORT = GLES20.GL_VIEWPORT;
|
||||
|
||||
@@ -639,6 +643,11 @@ public class PGL {
|
||||
}
|
||||
|
||||
|
||||
public void glCullFace(int mode) {
|
||||
GLES20.glCullFace(mode);
|
||||
}
|
||||
|
||||
|
||||
public void glDepthMask(boolean flag) {
|
||||
GLES20.glDepthMask(flag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user