Fixed minor piston render issue

This commit is contained in:
Calclavia 2014-02-26 15:33:31 +08:00
parent 2821f7b1e1
commit 2dec0d557a

View file

@ -55,7 +55,7 @@ public class RenderMechanicalPiston extends TileEntitySpecialRenderer
* Render Piston Rotor
*/
GL11.glPushMatrix();
GL11.glTranslated(0, 0, (0.5 * Math.cos(angle)) - 0.5);
GL11.glTranslated(0, 0, (0.5 * Math.cos(angle - Math.PI)) - 0.5);
MODEL.renderOnly("PistonShaft", "PistonFace", "PistonFace2");
GL11.glPopMatrix();