Package mekanism.client.render.MekanismRenderer

Examples of mekanism.client.render.MekanismRenderer.DisplayInteger.render()


        if(rotateAngleX == 0.0F && rotateAngleY == 0.0F && rotateAngleZ == 0.0F)
        {
          if(rotationPointX == 0.0F && rotationPointY == 0.0F && rotationPointZ == 0.0F)
          {
            currentDisplayList.render();
          }
          else {
            GL11.glTranslatef(rotationPointX * scaleFactor, rotationPointY * scaleFactor, rotationPointZ * scaleFactor);
            currentDisplayList.render();
            GL11.glTranslatef(-rotationPointX * scaleFactor, -rotationPointY * scaleFactor, -rotationPointZ * scaleFactor);
 
View Full Code Here


          {
            currentDisplayList.render();
          }
          else {
            GL11.glTranslatef(rotationPointX * scaleFactor, rotationPointY * scaleFactor, rotationPointZ * scaleFactor);
            currentDisplayList.render();
            GL11.glTranslatef(-rotationPointX * scaleFactor, -rotationPointY * scaleFactor, -rotationPointZ * scaleFactor);
          }
        }
        else {
          GL11.glPushMatrix();
View Full Code Here

          if(rotateAngleX != 0.0F)
          {
            GL11.glRotatef(rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
          }

          currentDisplayList.render();
          GL11.glPopMatrix();
        }

        GL11.glTranslatef(-offsetX, -offsetY, -offsetZ);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.