oldSecurityRange = getSecurityRange();
rangeLines = new ArrayList<RenderProgressingLine>();
double renderSecurityRange = securityRange + 0.5D;
for(int i = 0; i < securityRange * 16 + 8; i++) {
//Add the vertical lines of the walls
rangeLines.add(new RenderProgressingLine(-renderSecurityRange + i / 8D, -renderSecurityRange + 1, -renderSecurityRange, -renderSecurityRange + i / 8D, renderSecurityRange + 1, -renderSecurityRange));
rangeLines.add(new RenderProgressingLine(renderSecurityRange - i / 8D, -renderSecurityRange + 1, renderSecurityRange, renderSecurityRange - i / 8D, renderSecurityRange + 1, renderSecurityRange));
rangeLines.add(new RenderProgressingLine(-renderSecurityRange, -renderSecurityRange + 1, renderSecurityRange - i / 8D, -renderSecurityRange, renderSecurityRange + 1, renderSecurityRange - i / 8D));
rangeLines.add(new RenderProgressingLine(renderSecurityRange, -renderSecurityRange + 1, -renderSecurityRange + i / 8D, renderSecurityRange, renderSecurityRange + 1, -renderSecurityRange + i / 8D));
//Add the horizontal lines of the walls
rangeLines.add(new RenderProgressingLine(-renderSecurityRange, -renderSecurityRange + i / 8D + 1, -renderSecurityRange, -renderSecurityRange, -renderSecurityRange + i / 8D + 1, renderSecurityRange));
rangeLines.add(new RenderProgressingLine(renderSecurityRange, -renderSecurityRange + i / 8D + 1, -renderSecurityRange, renderSecurityRange, -renderSecurityRange + i / 8D + 1, renderSecurityRange));
rangeLines.add(new RenderProgressingLine(-renderSecurityRange, renderSecurityRange - i / 8D + 1, -renderSecurityRange, renderSecurityRange, renderSecurityRange - i / 8D + 1, -renderSecurityRange));
rangeLines.add(new RenderProgressingLine(-renderSecurityRange, -renderSecurityRange + i / 8D + 1, renderSecurityRange, renderSecurityRange, -renderSecurityRange + i / 8D + 1, renderSecurityRange));
//Add the roof and floor
rangeLines.add(new RenderProgressingLine(renderSecurityRange - i / 8D, -renderSecurityRange + 1, -renderSecurityRange, renderSecurityRange - i / 8D, -renderSecurityRange + 1, renderSecurityRange));
rangeLines.add(new RenderProgressingLine(renderSecurityRange - i / 8D, renderSecurityRange + 1, -renderSecurityRange, renderSecurityRange - i / 8D, renderSecurityRange + 1, renderSecurityRange));
rangeLines.add(new RenderProgressingLine(-renderSecurityRange, -renderSecurityRange + 1, -renderSecurityRange + i / 8D, renderSecurityRange, -renderSecurityRange + 1, -renderSecurityRange + i / 8D));
rangeLines.add(new RenderProgressingLine(-renderSecurityRange, renderSecurityRange + 1, -renderSecurityRange + i / 8D, renderSecurityRange, renderSecurityRange + 1, -renderSecurityRange + i / 8D));
}
}
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glEnable(GL11.GL_BLEND);