public void render() { for (LineInfo tempColor : color.getColors()) { tempColor.prepareRender(); double twoPi = Math.PI * 2; for (int yBlock = minY + 1; yBlock <= maxY; yBlock++) { obf.startDrawing(GL11.GL_LINE_LOOP); tempColor.prepareColor(); for (int i = 0; i <= 75; i++) { double tempTheta = i * twoPi / 75; double tempX = radX * Math.cos(tempTheta); double tempZ = radZ * Math.sin(tempTheta); obf.addVertex(centerX + tempX, yBlock, centerZ + tempZ); } obf.finishDrawing(); } } }