GL11.glDisable(planeIndex);
GL11.glDisable(GL11.GL_CLIP_PLANE0 + planeIndex);
    private void enableClipPlane(int planeIndex, boolean enable, ClipStateRecord record) {        if (enable) {            if (!record.planeEnabled[planeIndex]) {                GL11.glEnable(GL11.GL_CLIP_PLANE0 + planeIndex);                record.planeEnabled[planeIndex] = true;            }            if (!Arrays.equals(record.planeEq[planeIndex], planeEquations[planeIndex])) {                buf.rewind();                buf.put(planeEquations[planeIndex]);                GL11.glClipPlane(GL11.GL_CLIP_PLANE0 + planeIndex, buf);                System.arraycopy(planeEquations[planeIndex], 0, record.planeEq[planeIndex], 0, 4);            }        } else {            if (record.planeEnabled[planeIndex]) {                GL11.glDisable(planeIndex);                record.planeEnabled[planeIndex] = false;            }        }    }