Wrapped RenderBattery in glMatrix

This commit is contained in:
Calclavia 2014-01-21 21:44:31 +08:00
parent dee14031be
commit 1b072045b9

View file

@ -38,6 +38,8 @@ public class RenderBattery extends TileEntitySpecialRenderer
@Override
public void renderTileEntityAt(TileEntity t, double x, double y, double z, float f)
{
glPushMatrix();
for (int i = 2; i < 6; i++)
{
glPushMatrix();
@ -127,5 +129,7 @@ public class RenderBattery extends TileEntitySpecialRenderer
glPopMatrix();
}
glPopMatrix();
}
}