worldRenderer.init(gl, shapeManager);
shapeRenderer.shapeManager_$eq(shapeManager);
// Check for stencil support
int StencilBits[] = new int[1];
gl.glGetIntegerv(GL.GL_STENCIL_BITS, IntBuffer.wrap(StencilBits));
shapeRenderer.stencilSupport_$eq(StencilBits[0] > 0);
}
public void reshape(GLAutoDrawable gLDrawable, int x, int y, int width, int height) {
GL gl = gLDrawable.getGL();