GL11.glRotatef(tileEntity.yaw + 180, 0, 1, 0);
GL11.glRotatef(-tileEntity.pitch, 1, 0, 0);
GL11.glRotatef(tileEntity.ticks * 10, 0, 0, 1);
GL11.glColor4f(tileEntity.getColor().floatX(), tileEntity.getColor().floatY(), tileEntity.getColor().floatZ(), 1.0F);
tess.startDrawing(GL11.GL_LINES);
for (ForgeDirection dir : ForgeDirection.values())
{
tess.addVertex(dir.offsetX / 40.0F, dir.offsetY / 40.0F, dir.offsetZ / 40.0F);
tess.addVertex(dir.offsetX / 40.0F, dir.offsetY / 40.0F, directionLength + dir.offsetZ / 40.0F);