Fix #2303
This commit is contained in:
parent
e18cf2dd4a
commit
dfefcaf69a
1 changed files with 10 additions and 7 deletions
|
@ -32,26 +32,29 @@ public class RenderLaser extends TileEntitySpecialRenderer
|
|||
|
||||
switch(tileEntity.facing)
|
||||
{
|
||||
case 0:
|
||||
case 0:
|
||||
GL11.glTranslatef(0.0F, -2.0F, 0.0F);
|
||||
GL11.glRotatef(180F, 1.0F, 0.0F, 0.0F);
|
||||
break;
|
||||
case 5:
|
||||
case 5:
|
||||
GL11.glTranslatef(0.0F, -1.0F, 0.0F);
|
||||
GL11.glTranslatef(1.0F, 0.0F, 0.0F);
|
||||
GL11.glRotatef(90F, 1.0F, 0.0F, 0.0F);
|
||||
GL11.glRotatef(90, 0.0F, 0.0F, -1.0F);
|
||||
break;
|
||||
case 4:
|
||||
case 4:
|
||||
GL11.glTranslatef(0.0F, -1.0F, 0.0F);
|
||||
GL11.glTranslatef(-1.0F, 0.0F, 0.0F);
|
||||
GL11.glRotatef(90, 0.0F, 0.0F, 1.0F);
|
||||
GL11.glRotatef(90F, 1.0F, 0.0F, 0.0F);
|
||||
GL11.glRotatef(90, 0.0F, 0.0F, 1.0F);
|
||||
break;
|
||||
case 2:
|
||||
case 2:
|
||||
GL11.glTranslatef(0.0F, -1.0F, 0.0F);
|
||||
GL11.glTranslatef(0.0F, 0.0F, -1.0F);
|
||||
GL11.glRotatef(90, -1.0F, 0.0F, 0.0F);
|
||||
GL11.glRotatef(90, -1.0F, 0.0F, 0.0F);
|
||||
GL11.glRotatef(180F, 0.0F, 1.0F, 0.0F);
|
||||
break;
|
||||
case 3:
|
||||
case 3:
|
||||
GL11.glTranslatef(0.0F, -1.0F, 0.0F);
|
||||
GL11.glTranslatef(0.0F, 0.0F, 1.0F);
|
||||
GL11.glRotatef(90, 1.0F, 0.0F, 0.0F);
|
||||
|
|
Loading…
Reference in a new issue