public interface JCGLCullingType
| Modifier and Type | Method and Description |
|---|---|
void |
cullingDisable()
Disable face culling.
|
void |
cullingEnable(JCGLFaceSelection faces,
JCGLFaceWindingOrder order)
Enable face culling for
faces and specify that front faces are
specified by giving vertices in the winding order specified by order. |
boolean |
cullingIsEnabled() |
void cullingDisable()
throws JCGLException
JCGLException - Iff an OpenGL error occursvoid cullingEnable(JCGLFaceSelection faces, JCGLFaceWindingOrder order) throws JCGLException
faces and specify that front faces are
specified by giving vertices in the winding order specified by order. The OpenGL defaults are FACE_BACK and FRONT_FACE_COUNTER_CLOCKWISE for faces and order
respectively.faces - The faces to cullorder - The order of vertices in front-facing facesJCGLException - Iff an OpenGL error occursboolean cullingIsEnabled()
throws JCGLException
true iff culling is enabled.JCGLException - Iff an OpenGL error occursCopyright © 2016 <code@io7m.com> http://io7m.com