@@ -0,0 +1,1714 @@
+package boq.utils.render;%0A%0Aimport net.minecraftforge.common.ForgeDirection;%0A%0Aimport org.lwjgl.opengl.GL11;%0A%0Aimport boq.utils.log.Log;%0Aimport boq.utils.misc.Rotation;%0A%0Apublic class RotationHelper %7B%0A%0A    public static void setupSide(ForgeDirection side) %7B%0A        switch (side) %7B%0A            case DOWN:%0A                GL11.glRotatef(90, 1, 0, 0);%0A                GL11.glTranslatef(0, 0, -1);%0A                break;%0A            case UP:%0A                GL11.glRotatef(-90, 1, 0, 0);%0A                GL11.glTranslatef(0, -1, 0);%0A                break;%0A            case NORTH:%0A                GL11.glRotatef(180, 0, 1, 0);%0A                GL11.glTranslatef(-1, 0, -1);%0A                break;%0A            case SOUTH:%0A                break;%0A            case EAST:%0A                GL11.glRotatef(90, 0, 1, 0);%0A                GL11.glTranslatef(-1, 0, 0);%0A                break;%0A            case WEST:%0A                GL11.glRotatef(-90, 0, 1, 0);%0A                GL11.glTranslatef(0, 0, -1);%0A                break;%0A            default:%0A                Log.warning(%22Invalid side while rendering @ RenderHelper.setupSide%22);%0A                break;%0A        %7D%0A    %7D%0A%0A    public static void setupRotation(Rotation rotation) %7B%0A        switch (rotation) %7B%0A            case R0:%0A                break;%0A            case R90:%0A                GL11.glRotatef(-90, 0, 0, 1);%0A                GL11.glTranslatef(-1, 0, 0);%0A                break;%0A            case R180:%0A                GL11.glRotatef(180, 0, 0, 1);%0A                GL11.glTranslatef(-1, -1, 0);%0A                break;%0A            case R270:%0A                GL11.glRotatef(90, 0, 0, 1);%0A                GL11.glTranslatef(0, -1, 0);%0A                break;%0A        %7D%0A    %7D%0A%0A%7D%0A

Move rotation helper to utils