Fixed large metal turbine render size
This commit is contained in:
parent
ff4ac618e3
commit
7f955ce2a5
1 changed files with 3 additions and 2 deletions
|
@ -68,14 +68,15 @@ public class RenderWindTurbine extends TileEntitySpecialRenderer implements ISim
|
|||
|
||||
if (isConstructed)
|
||||
{
|
||||
GL11.glScalef(0.3f, 1, 0.3f);
|
||||
GL11.glScalef(size * 2 + 1, Math.min(size, 2), size * 2 + 1);
|
||||
|
||||
if (tier == 2)
|
||||
{
|
||||
MODEL.renderOnly("LargeMetalHub", "LargeMetalBlade");
|
||||
}
|
||||
else
|
||||
{
|
||||
GL11.glScalef(0.3f, 1, 0.3f);
|
||||
GL11.glScalef(size * 2 + 1, Math.min(size, 2), size * 2 + 1);
|
||||
MODEL.renderOnly("LargeBladeArm");
|
||||
GL11.glScalef(1f, 2f, 1f);
|
||||
GL11.glTranslatef(0, -0.05f, 0);
|
||||
|
|
Loading…
Reference in a new issue