gl.enable(gl.CULL_FACE);
gl.cullFace(gl.FRONT_AND_BACK);WebGLRenderingContext: cullFace() method / notebook
WebGLRenderingContext: cullFace() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
gl.getParameter(gl.CULL_FACE_MODE) === gl.FRONT_AND_BACK;
// true