Merge pull request #2383 from HenryLoenwind/fix4

Fix: KillerJoe Sword z-Fighting
This commit is contained in:
tterrag1098 committed 2015-04-28 15:29:27 -04:00
commit 966b156064
1 file changed
+2 -2
@@ -87,10 +87,10 @@ public class KillerJoeRenderer extends TileEntitySpecialRenderer implements IIte
if(swingProgress > 0) {
float f6 = MathHelper.sin(swingProgress * swingProgress * (float) Math.PI);
float f7 = MathHelper.sin(MathHelper.sqrt_float(swingProgress) * (float) Math.PI);
GL11.glRotatef(f7 * 5.0F, 1.0F, 0.0F, 0.0F);
GL11.glRotatef(f6 * 5.0F, 1.0F, 0.0F, 0.0F);
GL11.glRotatef(f7 * 50.0F, 0.0F, 0.0F, 1.0F);
}
GL11.glTranslatef(-0.25f, 0.2f, 0.05f);
GL11.glTranslatef(-0.255f, 0.2f, 0.05f);
RenderUtil.bindItemTexture();