From c5b703a48f4365c51cbf66618e2d7285df3a1774 Mon Sep 17 00:00:00 2001 From: Henry Mao Date: Wed, 9 Jan 2013 21:21:03 +0800 Subject: [PATCH] Fixed minor render bug --- .../assemblyline/client/render/RenderConveyorBelt.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/minecraft/assemblyline/client/render/RenderConveyorBelt.java b/src/minecraft/assemblyline/client/render/RenderConveyorBelt.java index af731c7ce..0585a4853 100644 --- a/src/minecraft/assemblyline/client/render/RenderConveyorBelt.java +++ b/src/minecraft/assemblyline/client/render/RenderConveyorBelt.java @@ -49,20 +49,18 @@ public class RenderConveyorBelt extends TileEntitySpecialRenderer if (slantType != null && slantType != SlantType.NONE) { - GL11.glTranslatef(0, -0.4f, 0); - GL11.glScalef(1f, 1.4f, 1f); + GL11.glTranslatef(0, -0.3f, 0); + GL11.glScalef(1f, 1.3f, 1.4f); if (slantType == SlantType.UP) { if (face == 5 || face == 4) { - GL11.glScalef(1.4f, 1f, 1f); GL11.glTranslatef(0f, 0f, 1f); GL11.glRotatef(-45f, 1f, 0f, 0f); } else if (face == 2 || face == 3) { - GL11.glScalef(1f, 1f, 1.4f); GL11.glTranslatef(0f, 0f, 1f); GL11.glRotatef(-45f, 1f, 0f, 0f); } @@ -71,13 +69,11 @@ public class RenderConveyorBelt extends TileEntitySpecialRenderer { if (face == 5 || face == 4) { - GL11.glScalef(1.4f, 1f, 1f); GL11.glTranslatef(0f, 0f, -1f); GL11.glRotatef(45f, 1f, 0f, 0f); } else if (face == 2 || face == 3) { - GL11.glScalef(1f, 1f, 1.4f); GL11.glTranslatef(0f, 0f, -1f); GL11.glRotatef(45f, 1f, 0f, 0f); }