Example usage for org.lwjgl.opengl GL11 glScaled

List of usage examples for org.lwjgl.opengl GL11 glScaled

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 glScaled.

Prototype

public static native void glScaled(@NativeType("GLdouble") double x, @NativeType("GLdouble") double y,
        @NativeType("GLdouble") double z);

Source Link

Document

Double version of #glScalef Scalef .

Usage

From source file:appeng.client.render.BusRenderer.java

License:Open Source License

@Override
public void renderItem(final ItemRenderType type, final ItemStack item, final Object... data) {
    if (item == null) {
        return;//from w w  w  .ja  v a 2s .  com
    }

    GL11.glPushMatrix();
    GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS);
    GL11.glEnable(GL11.GL_DEPTH_TEST);
    GL11.glEnable(GL11.GL_TEXTURE_2D);
    GL11.glEnable(GL11.GL_LIGHTING);

    if (AEConfig.instance.isFeatureEnabled(AEFeature.AlphaPass) && item.getItem() instanceof IAlphaPassItem
            && ((IAlphaPassItem) item.getItem()).useAlphaPass(item)) {
        GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
        GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
        GL11.glDisable(GL11.GL_ALPHA_TEST);
        GL11.glEnable(GL11.GL_BLEND);
    } else {
        GL11.glAlphaFunc(GL11.GL_GREATER, 0.4f);
        GL11.glEnable(GL11.GL_ALPHA_TEST);
        GL11.glDisable(GL11.GL_BLEND);
    }

    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
        GL11.glTranslatef(-0.2f, -0.1f, -0.3f);
    }

    if (type == ItemRenderType.ENTITY) {
        GL11.glRotatef(90.0f, 0.0f, 1.0f, 0.0f);
        GL11.glScalef(0.8f, 0.8f, 0.8f);
        GL11.glTranslatef(-0.8f, -0.87f, -0.7f);
    }

    if (type == ItemRenderType.INVENTORY) {
        GL11.glTranslatef(0.0f, -0.1f, 0.0f);
    }

    GL11.glTranslated(0.2, 0.3, 0.1);
    GL11.glScaled(1.2, 1.2, 1.);

    GL11.glColor4f(1, 1, 1, 1);
    Tessellator.instance.setColorOpaque_F(1, 1, 1);
    Tessellator.instance.setBrightness(14 << 20 | 14 << 4);

    BusRenderHelper.INSTANCE.setBounds(0, 0, 0, 1, 1, 1);
    BusRenderHelper.INSTANCE.setTexture(null);
    BusRenderHelper.INSTANCE.setInvColor(0xffffff);
    this.getRenderer().blockAccess = ClientHelper.proxy.getWorld();

    BusRenderHelper.INSTANCE.setOrientation(ForgeDirection.EAST, ForgeDirection.UP, ForgeDirection.SOUTH);

    this.getRenderer().uvRotateBottom = this.getRenderer().uvRotateEast = this
            .getRenderer().uvRotateNorth = this.getRenderer().uvRotateSouth = this
                    .getRenderer().uvRotateTop = this.getRenderer().uvRotateWest = 0;
    this.getRenderer().useInventoryTint = false;
    this.getRenderer().overrideBlockTexture = null;

    if (item.getItem() instanceof IFacadeItem) {
        final IFacadeItem fi = (IFacadeItem) item.getItem();
        final IFacadePart fp = fi.createPartFromItemStack(item, ForgeDirection.SOUTH);

        if (type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
            GL11.glRotatef(160.0f, 0.0f, 1.0f, 0.0f);
            GL11.glTranslated(-0.4, 0.1, -1.6);
        }

        if (fp != null) {
            fp.renderInventory(BusRenderHelper.INSTANCE, this.getRenderer());
        }
    } else {
        final IPart ip = this.getRenderer(item, (IPartItem) item.getItem());
        if (ip != null) {
            if (type == ItemRenderType.ENTITY) {
                final int depth = ip.cableConnectionRenderTo();
                GL11.glTranslatef(0.0f, 0.0f, -0.04f * (8 - depth) - 0.06f);
            }

            ip.renderInventory(BusRenderHelper.INSTANCE, this.getRenderer());
        }
    }

    this.getRenderer().uvRotateBottom = this.getRenderer().uvRotateEast = this
            .getRenderer().uvRotateNorth = this.getRenderer().uvRotateSouth = this
                    .getRenderer().uvRotateTop = this.getRenderer().uvRotateWest = 0;

    GL11.glPopAttrib();
    GL11.glPopMatrix();
}

From source file:arekkuusu.grimoireOfAlice.client.render.LargeItemRenderer.java

License:Open Source License

private void doTheStuff(ItemStack stack, EntityLivingBase entity, boolean view) {
    GL11.glPushMatrix();/* ww w .  j a  v a2s  .co m*/
    double size = scale;
    if (view) {
        size *= 1.75F;
        GL11.glTranslated(-0.35F * scale, -0.125F * scale, 0.0F);
    } else {
        size *= (entity instanceof EntityPlayer ? 2.0F : 1.75F);
        GL11.glTranslated(1.0D - size, -0.125D * scale, 0.05D * scale);
        if (rotate != 0) {
            GL11.glTranslated(2.0D - size, -2.125D * scale, 0.05D * scale);
            GL11.glTranslatef(0, 4, 0);
            GL11.glTranslated(1.2, -2, -0.1);
        }
    }
    GL11.glScaled(size, size, size);
    IIcon icon = stack.getItem().getIcon(stack, 0);
    Tessellator tessellator = Tessellator.instance;
    ItemRenderer.renderItemIn2D(tessellator, icon.getMaxU(), icon.getMinV(), icon.getMinU(), icon.getMaxV(),
            icon.getIconWidth(), icon.getIconHeight(), 0.0625F);
    GL11.glPopMatrix();
}

From source file:buildcraft.robotics.render.RenderRobot.java

License:Minecraft Mod Public

@Override
public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
    if (RenderManager.instance == null || RenderManager.instance.renderEngine == null) {
        return;//  ww  w . ja  v a 2s.  co m
    }

    GL11.glPushMatrix();

    if (item.getItem() == BuildCraftRobotics.robotItem) {
        ItemRobot robot = (ItemRobot) item.getItem();
        RenderManager.instance.renderEngine.bindTexture(robot.getTextureRobot(item));
    }

    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
        GL11.glTranslated(0.0, 1.0, 0.7);
    } else if (type == ItemRenderType.ENTITY) {
        GL11.glScaled(0.6, 0.6, 0.6);
    } else if (type == ItemRenderType.INVENTORY) {
        GL11.glScaled(1.5, 1.5, 1.5);
    }

    doRenderRobot(1F / 16F, RenderManager.instance.renderEngine, 0.9F, false);

    GL11.glPopMatrix();
}

From source file:buildcraft.robots.render.RenderRobot.java

License:Minecraft Mod Public

@Override
public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
    if (RenderManager.instance == null || RenderManager.instance.renderEngine == null) {
        return;/*from  ww w .j  av a2s. c  om*/
    }

    GL11.glPushMatrix();

    if (item.getItem() == BuildCraftSilicon.robotItem) {
        ItemRobot robot = (ItemRobot) item.getItem();
        RenderManager.instance.renderEngine.bindTexture(robot.getTextureRobot(item));
    }

    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
        GL11.glTranslated(0.0, 1.0, 0.7);
    } else if (type == ItemRenderType.ENTITY) {
        GL11.glScaled(0.6, 0.6, 0.6);
    } else if (type == ItemRenderType.INVENTORY) {
        GL11.glScaled(1.5, 1.5, 1.5);
    }

    doRenderRobot(1F / 16F, RenderManager.instance.renderEngine);

    GL11.glPopMatrix();
}

From source file:buildcraftAdditions.client.models.BackPackModel.java

License:GNU General Public License

@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
    FMLClientHandler.instance().getClient().getTextureManager().bindTexture(TEXTURE);
    GL11.glPushMatrix();//from   w  w  w  .ja  v a2 s  .  co m
    GL11.glTranslatef(this.shape38_2.offsetX, this.shape38_2.offsetY, this.shape38_2.offsetZ);
    GL11.glTranslatef(this.shape38_2.rotationPointX * f5, this.shape38_2.rotationPointY * f5,
            this.shape38_2.rotationPointZ * f5);
    GL11.glScaled(0.9D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape38_2.offsetX, -this.shape38_2.offsetY, -this.shape38_2.offsetZ);
    GL11.glTranslatef(-this.shape38_2.rotationPointX * f5, -this.shape38_2.rotationPointY * f5,
            -this.shape38_2.rotationPointZ * f5);
    this.shape38_2.render(f5);
    GL11.glPopMatrix();
    this.shape38_1.render(f5);
    this.shape38_6.render(f5);
    this.shape21_2.render(f5);
    this.handleTopRight.render(f5);
    this.shape38_5.render(f5);
    this.shape11_6.render(f5);
    this.shape49.render(f5);
    this.shape22.render(f5);
    this.shape21.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape21_1.offsetX, this.shape21_1.offsetY, this.shape21_1.offsetZ);
    GL11.glTranslatef(this.shape21_1.rotationPointX * f5, this.shape21_1.rotationPointY * f5,
            this.shape21_1.rotationPointZ * f5);
    GL11.glScaled(0.7D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape21_1.offsetX, -this.shape21_1.offsetY, -this.shape21_1.offsetZ);
    GL11.glTranslatef(-this.shape21_1.rotationPointX * f5, -this.shape21_1.rotationPointY * f5,
            -this.shape21_1.rotationPointZ * f5);
    this.shape21_1.render(f5);
    GL11.glPopMatrix();
    this.shape38_4.render(f5);
    this.shape49_2.render(f5);
    this.shape11_1.render(f5);
    this.shape11_4.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape38.offsetX, this.shape38.offsetY, this.shape38.offsetZ);
    GL11.glTranslatef(this.shape38.rotationPointX * f5, this.shape38.rotationPointY * f5,
            this.shape38.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.7D, 1.0D);
    GL11.glTranslatef(-this.shape38.offsetX, -this.shape38.offsetY, -this.shape38.offsetZ);
    GL11.glTranslatef(-this.shape38.rotationPointX * f5, -this.shape38.rotationPointY * f5,
            -this.shape38.rotationPointZ * f5);
    this.shape38.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape22_1.offsetX, this.shape22_1.offsetY, this.shape22_1.offsetZ);
    GL11.glTranslatef(this.shape22_1.rotationPointX * f5, this.shape22_1.rotationPointY * f5,
            this.shape22_1.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.3D, 1.0D);
    GL11.glTranslatef(-this.shape22_1.offsetX, -this.shape22_1.offsetY, -this.shape22_1.offsetZ);
    GL11.glTranslatef(-this.shape22_1.rotationPointX * f5, -this.shape22_1.rotationPointY * f5,
            -this.shape22_1.rotationPointZ * f5);
    this.shape22_1.render(f5);
    GL11.glPopMatrix();
    this.handleTopLeft.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape21_4.offsetX, this.shape21_4.offsetY, this.shape21_4.offsetZ);
    GL11.glTranslatef(this.shape21_4.rotationPointX * f5, this.shape21_4.rotationPointY * f5,
            this.shape21_4.rotationPointZ * f5);
    GL11.glScaled(0.9D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape21_4.offsetX, -this.shape21_4.offsetY, -this.shape21_4.offsetZ);
    GL11.glTranslatef(-this.shape21_4.rotationPointX * f5, -this.shape21_4.rotationPointY * f5,
            -this.shape21_4.rotationPointZ * f5);
    this.shape21_4.render(f5);
    GL11.glPopMatrix();
    this.shape11_2.render(f5);
    this.shape11_9.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape25.offsetX, this.shape25.offsetY, this.shape25.offsetZ);
    GL11.glTranslatef(this.shape25.rotationPointX * f5, this.shape25.rotationPointY * f5,
            this.shape25.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.7D, 1.0D);
    GL11.glTranslatef(-this.shape25.offsetX, -this.shape25.offsetY, -this.shape25.offsetZ);
    GL11.glTranslatef(-this.shape25.rotationPointX * f5, -this.shape25.rotationPointY * f5,
            -this.shape25.rotationPointZ * f5);
    this.shape25.render(f5);
    GL11.glPopMatrix();
    this.shape11_3.render(f5);
    this.shape11_8.render(f5);
    this.shape11.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape49_1.offsetX, this.shape49_1.offsetY, this.shape49_1.offsetZ);
    GL11.glTranslatef(this.shape49_1.rotationPointX * f5, this.shape49_1.rotationPointY * f5,
            this.shape49_1.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.6D, 1.0D);
    GL11.glTranslatef(-this.shape49_1.offsetX, -this.shape49_1.offsetY, -this.shape49_1.offsetZ);
    GL11.glTranslatef(-this.shape49_1.rotationPointX * f5, -this.shape49_1.rotationPointY * f5,
            -this.shape49_1.rotationPointZ * f5);
    this.shape49_1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape21_3.offsetX, this.shape21_3.offsetY, this.shape21_3.offsetZ);
    GL11.glTranslatef(this.shape21_3.rotationPointX * f5, this.shape21_3.rotationPointY * f5,
            this.shape21_3.rotationPointZ * f5);
    GL11.glScaled(0.7D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape21_3.offsetX, -this.shape21_3.offsetY, -this.shape21_3.offsetZ);
    GL11.glTranslatef(-this.shape21_3.rotationPointX * f5, -this.shape21_3.rotationPointY * f5,
            -this.shape21_3.rotationPointZ * f5);
    this.shape21_3.render(f5);
    GL11.glPopMatrix();
    this.shape11_5.render(f5);
    this.shape38_3.render(f5);
    this.shape11_7.render(f5);
    if (entity != null && entity instanceof EntityPlayer) {
        EntityPlayer player = (EntityPlayer) entity;
        ItemStack bStack = player.getCurrentArmor(2);
        ItemKineticBackpack backpack = (ItemKineticBackpack) bStack.getItem();
        if (backpack.getInstalledCapsule(bStack, 0) != 0) {
            GL11.glPushMatrix();
            GL11.glTranslated(0.14, -1.35, 0.25);
            GL11.glScaled(1.5, 1.5, 1.5);
            ModelCapsule.INSTANCE.render(null, 0, 0, 0, 0, 0, 0.05F, backpack.getInstalledCapsule(bStack, 0));
            GL11.glPopMatrix();
        }
        if (backpack.getInstalledCapsule(bStack, 1) != 0) {
            GL11.glPushMatrix();
            GL11.glTranslated(-0.14, -1.35, 0.25);
            GL11.glScaled(1.5, 1.5, 1.5);
            ModelCapsule.INSTANCE.render(null, 0, 0, 0, 0, 0, 0.05F, backpack.getInstalledCapsule(bStack, 1));
            GL11.glPopMatrix();
        }
        if (backpack.getInstalledCapsule(bStack, 2) != 0) {
            GL11.glPushMatrix();
            GL11.glTranslated(0.14, -1.15, 0.25);
            GL11.glScaled(1.5, 1.5, 1.5);
            ModelCapsule.INSTANCE.render(null, 0, 0, 0, 0, 0, 0.05F, backpack.getInstalledCapsule(bStack, 2));
            GL11.glPopMatrix();
        }
        if (backpack.getInstalledCapsule(bStack, 3) != 0) {
            GL11.glPushMatrix();
            GL11.glTranslated(-0.14, -1.15, 0.25);
            GL11.glScaled(1.5, 1.5, 1.5);
            ModelCapsule.INSTANCE.render(null, 0, 0, 0, 0, 0, 0.05F, backpack.getInstalledCapsule(bStack, 3));
            GL11.glPopMatrix();
        }
    }
}

From source file:buildcraftAdditions.client.models.ModelBackpackStand.java

License:GNU General Public License

@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
    FMLClientHandler.instance().getClient().getTextureManager().bindTexture(TEXTURE);
    this.shape11.render(f5);
    GL11.glPushMatrix();//from  w w  w . jav  a  2  s .com
    GL11.glTranslatef(this.shape11_8.offsetX, this.shape11_8.offsetY, this.shape11_8.offsetZ);
    GL11.glTranslatef(this.shape11_8.rotationPointX * f5, this.shape11_8.rotationPointY * f5,
            this.shape11_8.rotationPointZ * f5);
    GL11.glScaled(0.7D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape11_8.offsetX, -this.shape11_8.offsetY, -this.shape11_8.offsetZ);
    GL11.glTranslatef(-this.shape11_8.rotationPointX * f5, -this.shape11_8.rotationPointY * f5,
            -this.shape11_8.rotationPointZ * f5);
    this.shape11_8.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_18.offsetX, this.shape8_18.offsetY, this.shape8_18.offsetZ);
    GL11.glTranslatef(this.shape8_18.rotationPointX * f5, this.shape8_18.rotationPointY * f5,
            this.shape8_18.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_18.offsetX, -this.shape8_18.offsetY, -this.shape8_18.offsetZ);
    GL11.glTranslatef(-this.shape8_18.rotationPointX * f5, -this.shape8_18.rotationPointY * f5,
            -this.shape8_18.rotationPointZ * f5);
    this.shape8_18.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_4.offsetX, this.shape8_4.offsetY, this.shape8_4.offsetZ);
    GL11.glTranslatef(this.shape8_4.rotationPointX * f5, this.shape8_4.rotationPointY * f5,
            this.shape8_4.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_4.offsetX, -this.shape8_4.offsetY, -this.shape8_4.offsetZ);
    GL11.glTranslatef(-this.shape8_4.rotationPointX * f5, -this.shape8_4.rotationPointY * f5,
            -this.shape8_4.rotationPointZ * f5);
    this.shape8_4.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_23.offsetX, this.shape8_23.offsetY, this.shape8_23.offsetZ);
    GL11.glTranslatef(this.shape8_23.rotationPointX * f5, this.shape8_23.rotationPointY * f5,
            this.shape8_23.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_23.offsetX, -this.shape8_23.offsetY, -this.shape8_23.offsetZ);
    GL11.glTranslatef(-this.shape8_23.rotationPointX * f5, -this.shape8_23.rotationPointY * f5,
            -this.shape8_23.rotationPointZ * f5);
    this.shape8_23.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_9.offsetX, this.shape11_9.offsetY, this.shape11_9.offsetZ);
    GL11.glTranslatef(this.shape11_9.rotationPointX * f5, this.shape11_9.rotationPointY * f5,
            this.shape11_9.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.9D, 1.0D);
    GL11.glTranslatef(-this.shape11_9.offsetX, -this.shape11_9.offsetY, -this.shape11_9.offsetZ);
    GL11.glTranslatef(-this.shape11_9.rotationPointX * f5, -this.shape11_9.rotationPointY * f5,
            -this.shape11_9.rotationPointZ * f5);
    this.shape11_9.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_5.offsetX, this.shape8_5.offsetY, this.shape8_5.offsetZ);
    GL11.glTranslatef(this.shape8_5.rotationPointX * f5, this.shape8_5.rotationPointY * f5,
            this.shape8_5.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_5.offsetX, -this.shape8_5.offsetY, -this.shape8_5.offsetZ);
    GL11.glTranslatef(-this.shape8_5.rotationPointX * f5, -this.shape8_5.rotationPointY * f5,
            -this.shape8_5.rotationPointZ * f5);
    this.shape8_5.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_15.offsetX, this.shape8_15.offsetY, this.shape8_15.offsetZ);
    GL11.glTranslatef(this.shape8_15.rotationPointX * f5, this.shape8_15.rotationPointY * f5,
            this.shape8_15.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_15.offsetX, -this.shape8_15.offsetY, -this.shape8_15.offsetZ);
    GL11.glTranslatef(-this.shape8_15.rotationPointX * f5, -this.shape8_15.rotationPointY * f5,
            -this.shape8_15.rotationPointZ * f5);
    this.shape8_15.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_13.offsetX, this.shape11_13.offsetY, this.shape11_13.offsetZ);
    GL11.glTranslatef(this.shape11_13.rotationPointX * f5, this.shape11_13.rotationPointY * f5,
            this.shape11_13.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.9D, 1.0D);
    GL11.glTranslatef(-this.shape11_13.offsetX, -this.shape11_13.offsetY, -this.shape11_13.offsetZ);
    GL11.glTranslatef(-this.shape11_13.rotationPointX * f5, -this.shape11_13.rotationPointY * f5,
            -this.shape11_13.rotationPointZ * f5);
    this.shape11_13.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_16.offsetX, this.shape8_16.offsetY, this.shape8_16.offsetZ);
    GL11.glTranslatef(this.shape8_16.rotationPointX * f5, this.shape8_16.rotationPointY * f5,
            this.shape8_16.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_16.offsetX, -this.shape8_16.offsetY, -this.shape8_16.offsetZ);
    GL11.glTranslatef(-this.shape8_16.rotationPointX * f5, -this.shape8_16.rotationPointY * f5,
            -this.shape8_16.rotationPointZ * f5);
    this.shape8_16.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_17.offsetX, this.shape8_17.offsetY, this.shape8_17.offsetZ);
    GL11.glTranslatef(this.shape8_17.rotationPointX * f5, this.shape8_17.rotationPointY * f5,
            this.shape8_17.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_17.offsetX, -this.shape8_17.offsetY, -this.shape8_17.offsetZ);
    GL11.glTranslatef(-this.shape8_17.rotationPointX * f5, -this.shape8_17.rotationPointY * f5,
            -this.shape8_17.rotationPointZ * f5);
    this.shape8_17.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_9.offsetX, this.shape8_9.offsetY, this.shape8_9.offsetZ);
    GL11.glTranslatef(this.shape8_9.rotationPointX * f5, this.shape8_9.rotationPointY * f5,
            this.shape8_9.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_9.offsetX, -this.shape8_9.offsetY, -this.shape8_9.offsetZ);
    GL11.glTranslatef(-this.shape8_9.rotationPointX * f5, -this.shape8_9.rotationPointY * f5,
            -this.shape8_9.rotationPointZ * f5);
    this.shape8_9.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_10.offsetX, this.shape11_10.offsetY, this.shape11_10.offsetZ);
    GL11.glTranslatef(this.shape11_10.rotationPointX * f5, this.shape11_10.rotationPointY * f5,
            this.shape11_10.rotationPointZ * f5);
    GL11.glScaled(0.88D, 0.9D, 0.98D);
    GL11.glTranslatef(-this.shape11_10.offsetX, -this.shape11_10.offsetY, -this.shape11_10.offsetZ);
    GL11.glTranslatef(-this.shape11_10.rotationPointX * f5, -this.shape11_10.rotationPointY * f5,
            -this.shape11_10.rotationPointZ * f5);
    this.shape11_10.render(f5);
    GL11.glPopMatrix();
    this.shape11_7.render(f5);
    this.shape8_19.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_2.offsetX, this.shape8_2.offsetY, this.shape8_2.offsetZ);
    GL11.glTranslatef(this.shape8_2.rotationPointX * f5, this.shape8_2.rotationPointY * f5,
            this.shape8_2.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.5D);
    GL11.glTranslatef(-this.shape8_2.offsetX, -this.shape8_2.offsetY, -this.shape8_2.offsetZ);
    GL11.glTranslatef(-this.shape8_2.rotationPointX * f5, -this.shape8_2.rotationPointY * f5,
            -this.shape8_2.rotationPointZ * f5);
    this.shape8_2.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_10.offsetX, this.shape8_10.offsetY, this.shape8_10.offsetZ);
    GL11.glTranslatef(this.shape8_10.rotationPointX * f5, this.shape8_10.rotationPointY * f5,
            this.shape8_10.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_10.offsetX, -this.shape8_10.offsetY, -this.shape8_10.offsetZ);
    GL11.glTranslatef(-this.shape8_10.rotationPointX * f5, -this.shape8_10.rotationPointY * f5,
            -this.shape8_10.rotationPointZ * f5);
    this.shape8_10.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_13.offsetX, this.shape8_13.offsetY, this.shape8_13.offsetZ);
    GL11.glTranslatef(this.shape8_13.rotationPointX * f5, this.shape8_13.rotationPointY * f5,
            this.shape8_13.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.9D, 1.0D);
    GL11.glTranslatef(-this.shape8_13.offsetX, -this.shape8_13.offsetY, -this.shape8_13.offsetZ);
    GL11.glTranslatef(-this.shape8_13.rotationPointX * f5, -this.shape8_13.rotationPointY * f5,
            -this.shape8_13.rotationPointZ * f5);
    this.shape8_13.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_14.offsetX, this.shape11_14.offsetY, this.shape11_14.offsetZ);
    GL11.glTranslatef(this.shape11_14.rotationPointX * f5, this.shape11_14.rotationPointY * f5,
            this.shape11_14.rotationPointZ * f5);
    GL11.glScaled(1.4D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape11_14.offsetX, -this.shape11_14.offsetY, -this.shape11_14.offsetZ);
    GL11.glTranslatef(-this.shape11_14.rotationPointX * f5, -this.shape11_14.rotationPointY * f5,
            -this.shape11_14.rotationPointZ * f5);
    this.shape11_14.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_11.offsetX, this.shape8_11.offsetY, this.shape8_11.offsetZ);
    GL11.glTranslatef(this.shape8_11.rotationPointX * f5, this.shape8_11.rotationPointY * f5,
            this.shape8_11.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_11.offsetX, -this.shape8_11.offsetY, -this.shape8_11.offsetZ);
    GL11.glTranslatef(-this.shape8_11.rotationPointX * f5, -this.shape8_11.rotationPointY * f5,
            -this.shape8_11.rotationPointZ * f5);
    this.shape8_11.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_12.offsetX, this.shape8_12.offsetY, this.shape8_12.offsetZ);
    GL11.glTranslatef(this.shape8_12.rotationPointX * f5, this.shape8_12.rotationPointY * f5,
            this.shape8_12.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_12.offsetX, -this.shape8_12.offsetY, -this.shape8_12.offsetZ);
    GL11.glTranslatef(-this.shape8_12.rotationPointX * f5, -this.shape8_12.rotationPointY * f5,
            -this.shape8_12.rotationPointZ * f5);
    this.shape8_12.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_22.offsetX, this.shape8_22.offsetY, this.shape8_22.offsetZ);
    GL11.glTranslatef(this.shape8_22.rotationPointX * f5, this.shape8_22.rotationPointY * f5,
            this.shape8_22.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_22.offsetX, -this.shape8_22.offsetY, -this.shape8_22.offsetZ);
    GL11.glTranslatef(-this.shape8_22.rotationPointX * f5, -this.shape8_22.rotationPointY * f5,
            -this.shape8_22.rotationPointZ * f5);
    this.shape8_22.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_14.offsetX, this.shape8_14.offsetY, this.shape8_14.offsetZ);
    GL11.glTranslatef(this.shape8_14.rotationPointX * f5, this.shape8_14.rotationPointY * f5,
            this.shape8_14.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.5D);
    GL11.glTranslatef(-this.shape8_14.offsetX, -this.shape8_14.offsetY, -this.shape8_14.offsetZ);
    GL11.glTranslatef(-this.shape8_14.rotationPointX * f5, -this.shape8_14.rotationPointY * f5,
            -this.shape8_14.rotationPointZ * f5);
    this.shape8_14.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_4.offsetX, this.shape11_4.offsetY, this.shape11_4.offsetZ);
    GL11.glTranslatef(this.shape11_4.rotationPointX * f5, this.shape11_4.rotationPointY * f5,
            this.shape11_4.rotationPointZ * f5);
    GL11.glScaled(0.7D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape11_4.offsetX, -this.shape11_4.offsetY, -this.shape11_4.offsetZ);
    GL11.glTranslatef(-this.shape11_4.rotationPointX * f5, -this.shape11_4.rotationPointY * f5,
            -this.shape11_4.rotationPointZ * f5);
    this.shape11_4.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_6.offsetX, this.shape11_6.offsetY, this.shape11_6.offsetZ);
    GL11.glTranslatef(this.shape11_6.rotationPointX * f5, this.shape11_6.rotationPointY * f5,
            this.shape11_6.rotationPointZ * f5);
    GL11.glScaled(0.7D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape11_6.offsetX, -this.shape11_6.offsetY, -this.shape11_6.offsetZ);
    GL11.glTranslatef(-this.shape11_6.rotationPointX * f5, -this.shape11_6.rotationPointY * f5,
            -this.shape11_6.rotationPointZ * f5);
    this.shape11_6.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_3.offsetX, this.shape8_3.offsetY, this.shape8_3.offsetZ);
    GL11.glTranslatef(this.shape8_3.rotationPointX * f5, this.shape8_3.rotationPointY * f5,
            this.shape8_3.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_3.offsetX, -this.shape8_3.offsetY, -this.shape8_3.offsetZ);
    GL11.glTranslatef(-this.shape8_3.rotationPointX * f5, -this.shape8_3.rotationPointY * f5,
            -this.shape8_3.rotationPointZ * f5);
    this.shape8_3.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_12.offsetX, this.shape11_12.offsetY, this.shape11_12.offsetZ);
    GL11.glTranslatef(this.shape11_12.rotationPointX * f5, this.shape11_12.rotationPointY * f5,
            this.shape11_12.rotationPointZ * f5);
    GL11.glScaled(0.88D, 0.9D, 0.98D);
    GL11.glTranslatef(-this.shape11_12.offsetX, -this.shape11_12.offsetY, -this.shape11_12.offsetZ);
    GL11.glTranslatef(-this.shape11_12.rotationPointX * f5, -this.shape11_12.rotationPointY * f5,
            -this.shape11_12.rotationPointZ * f5);
    this.shape11_12.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_1.offsetX, this.shape8_1.offsetY, this.shape8_1.offsetZ);
    GL11.glTranslatef(this.shape8_1.rotationPointX * f5, this.shape8_1.rotationPointY * f5,
            this.shape8_1.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.6D);
    GL11.glTranslatef(-this.shape8_1.offsetX, -this.shape8_1.offsetY, -this.shape8_1.offsetZ);
    GL11.glTranslatef(-this.shape8_1.rotationPointX * f5, -this.shape8_1.rotationPointY * f5,
            -this.shape8_1.rotationPointZ * f5);
    this.shape8_1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_24.offsetX, this.shape8_24.offsetY, this.shape8_24.offsetZ);
    GL11.glTranslatef(this.shape8_24.rotationPointX * f5, this.shape8_24.rotationPointY * f5,
            this.shape8_24.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_24.offsetX, -this.shape8_24.offsetY, -this.shape8_24.offsetZ);
    GL11.glTranslatef(-this.shape8_24.rotationPointX * f5, -this.shape8_24.rotationPointY * f5,
            -this.shape8_24.rotationPointZ * f5);
    this.shape8_24.render(f5);
    GL11.glPopMatrix();
    this.shape11_5.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_11.offsetX, this.shape11_11.offsetY, this.shape11_11.offsetZ);
    GL11.glTranslatef(this.shape11_11.rotationPointX * f5, this.shape11_11.rotationPointY * f5,
            this.shape11_11.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.9D, 1.0D);
    GL11.glTranslatef(-this.shape11_11.offsetX, -this.shape11_11.offsetY, -this.shape11_11.offsetZ);
    GL11.glTranslatef(-this.shape11_11.rotationPointX * f5, -this.shape11_11.rotationPointY * f5,
            -this.shape11_11.rotationPointZ * f5);
    this.shape11_11.render(f5);
    GL11.glPopMatrix();
    this.shape8_25.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_7.offsetX, this.shape8_7.offsetY, this.shape8_7.offsetZ);
    GL11.glTranslatef(this.shape8_7.rotationPointX * f5, this.shape8_7.rotationPointY * f5,
            this.shape8_7.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.9D, 1.0D);
    GL11.glTranslatef(-this.shape8_7.offsetX, -this.shape8_7.offsetY, -this.shape8_7.offsetZ);
    GL11.glTranslatef(-this.shape8_7.rotationPointX * f5, -this.shape8_7.rotationPointY * f5,
            -this.shape8_7.rotationPointZ * f5);
    this.shape8_7.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8.offsetX, this.shape8.offsetY, this.shape8.offsetZ);
    GL11.glTranslatef(this.shape8.rotationPointX * f5, this.shape8.rotationPointY * f5,
            this.shape8.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.6D);
    GL11.glTranslatef(-this.shape8.offsetX, -this.shape8.offsetY, -this.shape8.offsetZ);
    GL11.glTranslatef(-this.shape8.rotationPointX * f5, -this.shape8.rotationPointY * f5,
            -this.shape8.rotationPointZ * f5);
    this.shape8.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_16.offsetX, this.shape11_16.offsetY, this.shape11_16.offsetZ);
    GL11.glTranslatef(this.shape11_16.rotationPointX * f5, this.shape11_16.rotationPointY * f5,
            this.shape11_16.rotationPointZ * f5);
    GL11.glScaled(1.4D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape11_16.offsetX, -this.shape11_16.offsetY, -this.shape11_16.offsetZ);
    GL11.glTranslatef(-this.shape11_16.rotationPointX * f5, -this.shape11_16.rotationPointY * f5,
            -this.shape11_16.rotationPointZ * f5);
    this.shape11_16.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_15.offsetX, this.shape11_15.offsetY, this.shape11_15.offsetZ);
    GL11.glTranslatef(this.shape11_15.rotationPointX * f5, this.shape11_15.rotationPointY * f5,
            this.shape11_15.rotationPointZ * f5);
    GL11.glScaled(1.02D, 0.7D, 1.0D);
    GL11.glTranslatef(-this.shape11_15.offsetX, -this.shape11_15.offsetY, -this.shape11_15.offsetZ);
    GL11.glTranslatef(-this.shape11_15.rotationPointX * f5, -this.shape11_15.rotationPointY * f5,
            -this.shape11_15.rotationPointZ * f5);
    this.shape11_15.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_6.offsetX, this.shape8_6.offsetY, this.shape8_6.offsetZ);
    GL11.glTranslatef(this.shape8_6.rotationPointX * f5, this.shape8_6.rotationPointY * f5,
            this.shape8_6.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_6.offsetX, -this.shape8_6.offsetY, -this.shape8_6.offsetZ);
    GL11.glTranslatef(-this.shape8_6.rotationPointX * f5, -this.shape8_6.rotationPointY * f5,
            -this.shape8_6.rotationPointZ * f5);
    this.shape8_6.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_20.offsetX, this.shape8_20.offsetY, this.shape8_20.offsetZ);
    GL11.glTranslatef(this.shape8_20.rotationPointX * f5, this.shape8_20.rotationPointY * f5,
            this.shape8_20.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.5D);
    GL11.glTranslatef(-this.shape8_20.offsetX, -this.shape8_20.offsetY, -this.shape8_20.offsetZ);
    GL11.glTranslatef(-this.shape8_20.rotationPointX * f5, -this.shape8_20.rotationPointY * f5,
            -this.shape8_20.rotationPointZ * f5);
    this.shape8_20.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape11_3.offsetX, this.shape11_3.offsetY, this.shape11_3.offsetZ);
    GL11.glTranslatef(this.shape11_3.rotationPointX * f5, this.shape11_3.rotationPointY * f5,
            this.shape11_3.rotationPointZ * f5);
    GL11.glScaled(0.7D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.shape11_3.offsetX, -this.shape11_3.offsetY, -this.shape11_3.offsetZ);
    GL11.glTranslatef(-this.shape11_3.rotationPointX * f5, -this.shape11_3.rotationPointY * f5,
            -this.shape11_3.rotationPointZ * f5);
    this.shape11_3.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_8.offsetX, this.shape8_8.offsetY, this.shape8_8.offsetZ);
    GL11.glTranslatef(this.shape8_8.rotationPointX * f5, this.shape8_8.rotationPointY * f5,
            this.shape8_8.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.5D);
    GL11.glTranslatef(-this.shape8_8.offsetX, -this.shape8_8.offsetY, -this.shape8_8.offsetZ);
    GL11.glTranslatef(-this.shape8_8.rotationPointX * f5, -this.shape8_8.rotationPointY * f5,
            -this.shape8_8.rotationPointZ * f5);
    this.shape8_8.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape8_21.offsetX, this.shape8_21.offsetY, this.shape8_21.offsetZ);
    GL11.glTranslatef(this.shape8_21.rotationPointX * f5, this.shape8_21.rotationPointY * f5,
            this.shape8_21.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape8_21.offsetX, -this.shape8_21.offsetY, -this.shape8_21.offsetZ);
    GL11.glTranslatef(-this.shape8_21.rotationPointX * f5, -this.shape8_21.rotationPointY * f5,
            -this.shape8_21.rotationPointZ * f5);
    this.shape8_21.render(f5);
    GL11.glPopMatrix();
}

From source file:buildcraftAdditions.client.models.ModelCapsule.java

License:GNU General Public License

@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
    GL11.glPushMatrix();//from   ww  w.j  a v  a2 s. c  om
    GL11.glTranslatef(this.capsuleCoreVert.offsetX, this.capsuleCoreVert.offsetY, this.capsuleCoreVert.offsetZ);
    GL11.glTranslatef(this.capsuleCoreVert.rotationPointX * f5, this.capsuleCoreVert.rotationPointY * f5,
            this.capsuleCoreVert.rotationPointZ * f5);
    GL11.glScaled(0.6D, 1.0D, 1.0D);
    GL11.glTranslatef(-this.capsuleCoreVert.offsetX, -this.capsuleCoreVert.offsetY,
            -this.capsuleCoreVert.offsetZ);
    GL11.glTranslatef(-this.capsuleCoreVert.rotationPointX * f5, -this.capsuleCoreVert.rotationPointY * f5,
            -this.capsuleCoreVert.rotationPointZ * f5);
    this.capsuleCoreVert.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleCoreTR.offsetX, this.capsuleCoreTR.offsetY, this.capsuleCoreTR.offsetZ);
    GL11.glTranslatef(this.capsuleCoreTR.rotationPointX * f5, this.capsuleCoreTR.rotationPointY * f5,
            this.capsuleCoreTR.rotationPointZ * f5);
    GL11.glScaled(0.45D, 0.5D, 0.5D);
    GL11.glTranslatef(-this.capsuleCoreTR.offsetX, -this.capsuleCoreTR.offsetY, -this.capsuleCoreTR.offsetZ);
    GL11.glTranslatef(-this.capsuleCoreTR.rotationPointX * f5, -this.capsuleCoreTR.rotationPointY * f5,
            -this.capsuleCoreTR.rotationPointZ * f5);
    this.capsuleCoreTR.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleThingy4.offsetX, this.capsuleThingy4.offsetY, this.capsuleThingy4.offsetZ);
    GL11.glTranslatef(this.capsuleThingy4.rotationPointX * f5, this.capsuleThingy4.rotationPointY * f5,
            this.capsuleThingy4.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.capsuleThingy4.offsetX, -this.capsuleThingy4.offsetY, -this.capsuleThingy4.offsetZ);
    GL11.glTranslatef(-this.capsuleThingy4.rotationPointX * f5, -this.capsuleThingy4.rotationPointY * f5,
            -this.capsuleThingy4.rotationPointZ * f5);
    this.capsuleThingy4.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleCoreBL.offsetX, this.capsuleCoreBL.offsetY, this.capsuleCoreBL.offsetZ);
    GL11.glTranslatef(this.capsuleCoreBL.rotationPointX * f5, this.capsuleCoreBL.rotationPointY * f5,
            this.capsuleCoreBL.rotationPointZ * f5);
    GL11.glScaled(0.45D, 0.5D, 0.5D);
    GL11.glTranslatef(-this.capsuleCoreBL.offsetX, -this.capsuleCoreBL.offsetY, -this.capsuleCoreBL.offsetZ);
    GL11.glTranslatef(-this.capsuleCoreBL.rotationPointX * f5, -this.capsuleCoreBL.rotationPointY * f5,
            -this.capsuleCoreBL.rotationPointZ * f5);
    this.capsuleCoreBL.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleCoreBR.offsetX, this.capsuleCoreBR.offsetY, this.capsuleCoreBR.offsetZ);
    GL11.glTranslatef(this.capsuleCoreBR.rotationPointX * f5, this.capsuleCoreBR.rotationPointY * f5,
            this.capsuleCoreBR.rotationPointZ * f5);
    GL11.glScaled(0.45D, 0.5D, 0.5D);
    GL11.glTranslatef(-this.capsuleCoreBR.offsetX, -this.capsuleCoreBR.offsetY, -this.capsuleCoreBR.offsetZ);
    GL11.glTranslatef(-this.capsuleCoreBR.rotationPointX * f5, -this.capsuleCoreBR.rotationPointY * f5,
            -this.capsuleCoreBR.rotationPointZ * f5);
    this.capsuleCoreBR.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleThingy1.offsetX, this.capsuleThingy1.offsetY, this.capsuleThingy1.offsetZ);
    GL11.glTranslatef(this.capsuleThingy1.rotationPointX * f5, this.capsuleThingy1.rotationPointY * f5,
            this.capsuleThingy1.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.capsuleThingy1.offsetX, -this.capsuleThingy1.offsetY, -this.capsuleThingy1.offsetZ);
    GL11.glTranslatef(-this.capsuleThingy1.rotationPointX * f5, -this.capsuleThingy1.rotationPointY * f5,
            -this.capsuleThingy1.rotationPointZ * f5);
    this.capsuleThingy1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleCoreTL.offsetX, this.capsuleCoreTL.offsetY, this.capsuleCoreTL.offsetZ);
    GL11.glTranslatef(this.capsuleCoreTL.rotationPointX * f5, this.capsuleCoreTL.rotationPointY * f5,
            this.capsuleCoreTL.rotationPointZ * f5);
    GL11.glScaled(0.45D, 0.5D, 0.5D);
    GL11.glTranslatef(-this.capsuleCoreTL.offsetX, -this.capsuleCoreTL.offsetY, -this.capsuleCoreTL.offsetZ);
    GL11.glTranslatef(-this.capsuleCoreTL.rotationPointX * f5, -this.capsuleCoreTL.rotationPointY * f5,
            -this.capsuleCoreTL.rotationPointZ * f5);
    this.capsuleCoreTL.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleThingy2.offsetX, this.capsuleThingy2.offsetY, this.capsuleThingy2.offsetZ);
    GL11.glTranslatef(this.capsuleThingy2.rotationPointX * f5, this.capsuleThingy2.rotationPointY * f5,
            this.capsuleThingy2.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.capsuleThingy2.offsetX, -this.capsuleThingy2.offsetY, -this.capsuleThingy2.offsetZ);
    GL11.glTranslatef(-this.capsuleThingy2.rotationPointX * f5, -this.capsuleThingy2.rotationPointY * f5,
            -this.capsuleThingy2.rotationPointZ * f5);
    this.capsuleThingy2.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleThingy3.offsetX, this.capsuleThingy3.offsetY, this.capsuleThingy3.offsetZ);
    GL11.glTranslatef(this.capsuleThingy3.rotationPointX * f5, this.capsuleThingy3.rotationPointY * f5,
            this.capsuleThingy3.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.capsuleThingy3.offsetX, -this.capsuleThingy3.offsetY, -this.capsuleThingy3.offsetZ);
    GL11.glTranslatef(-this.capsuleThingy3.rotationPointX * f5, -this.capsuleThingy3.rotationPointY * f5,
            -this.capsuleThingy3.rotationPointZ * f5);
    this.capsuleThingy3.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.capsuleCoreHori.offsetX, this.capsuleCoreHori.offsetY, this.capsuleCoreHori.offsetZ);
    GL11.glTranslatef(this.capsuleCoreHori.rotationPointX * f5, this.capsuleCoreHori.rotationPointY * f5,
            this.capsuleCoreHori.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.6D, 0.99D);
    GL11.glTranslatef(-this.capsuleCoreHori.offsetX, -this.capsuleCoreHori.offsetY,
            -this.capsuleCoreHori.offsetZ);
    GL11.glTranslatef(-this.capsuleCoreHori.rotationPointX * f5, -this.capsuleCoreHori.rotationPointY * f5,
            -this.capsuleCoreHori.rotationPointZ * f5);
    this.capsuleCoreHori.render(f5);
    GL11.glPopMatrix();
}

From source file:buildcraftAdditions.client.models.ModelHoverBoots.java

License:GNU General Public License

@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
    RenderUtils.bindTexture(TEXTURE);/*from  w  ww .  j a v a2 s.c  om*/
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape1_1.offsetX, this.shape1_1.offsetY, this.shape1_1.offsetZ);
    GL11.glTranslatef(this.shape1_1.rotationPointX * f5, this.shape1_1.rotationPointY * f5,
            this.shape1_1.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.5D, 0.9D);
    GL11.glTranslatef(-this.shape1_1.offsetX, -this.shape1_1.offsetY, -this.shape1_1.offsetZ);
    GL11.glTranslatef(-this.shape1_1.rotationPointX * f5, -this.shape1_1.rotationPointY * f5,
            -this.shape1_1.rotationPointZ * f5);
    this.shape1_1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_33.offsetX, this.shape5_33.offsetY, this.shape5_33.offsetZ);
    GL11.glTranslatef(this.shape5_33.rotationPointX * f5, this.shape5_33.rotationPointY * f5,
            this.shape5_33.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.5D, 0.35D);
    GL11.glTranslatef(-this.shape5_33.offsetX, -this.shape5_33.offsetY, -this.shape5_33.offsetZ);
    GL11.glTranslatef(-this.shape5_33.rotationPointX * f5, -this.shape5_33.rotationPointY * f5,
            -this.shape5_33.rotationPointZ * f5);
    this.shape5_33.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_17.offsetX, this.shape5_17.offsetY, this.shape5_17.offsetZ);
    GL11.glTranslatef(this.shape5_17.rotationPointX * f5, this.shape5_17.rotationPointY * f5,
            this.shape5_17.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_17.offsetX, -this.shape5_17.offsetY, -this.shape5_17.offsetZ);
    GL11.glTranslatef(-this.shape5_17.rotationPointX * f5, -this.shape5_17.rotationPointY * f5,
            -this.shape5_17.rotationPointZ * f5);
    this.shape5_17.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_36.offsetX, this.shape5_36.offsetY, this.shape5_36.offsetZ);
    GL11.glTranslatef(this.shape5_36.rotationPointX * f5, this.shape5_36.rotationPointY * f5,
            this.shape5_36.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_36.offsetX, -this.shape5_36.offsetY, -this.shape5_36.offsetZ);
    GL11.glTranslatef(-this.shape5_36.rotationPointX * f5, -this.shape5_36.rotationPointY * f5,
            -this.shape5_36.rotationPointZ * f5);
    this.shape5_36.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_31.offsetX, this.shape5_31.offsetY, this.shape5_31.offsetZ);
    GL11.glTranslatef(this.shape5_31.rotationPointX * f5, this.shape5_31.rotationPointY * f5,
            this.shape5_31.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_31.offsetX, -this.shape5_31.offsetY, -this.shape5_31.offsetZ);
    GL11.glTranslatef(-this.shape5_31.rotationPointX * f5, -this.shape5_31.rotationPointY * f5,
            -this.shape5_31.rotationPointZ * f5);
    this.shape5_31.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_37.offsetX, this.shape5_37.offsetY, this.shape5_37.offsetZ);
    GL11.glTranslatef(this.shape5_37.rotationPointX * f5, this.shape5_37.rotationPointY * f5,
            this.shape5_37.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.4D, 0.1D);
    GL11.glTranslatef(-this.shape5_37.offsetX, -this.shape5_37.offsetY, -this.shape5_37.offsetZ);
    GL11.glTranslatef(-this.shape5_37.rotationPointX * f5, -this.shape5_37.rotationPointY * f5,
            -this.shape5_37.rotationPointZ * f5);
    this.shape5_37.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_38.offsetX, this.shape5_38.offsetY, this.shape5_38.offsetZ);
    GL11.glTranslatef(this.shape5_38.rotationPointX * f5, this.shape5_38.rotationPointY * f5,
            this.shape5_38.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_38.offsetX, -this.shape5_38.offsetY, -this.shape5_38.offsetZ);
    GL11.glTranslatef(-this.shape5_38.rotationPointX * f5, -this.shape5_38.rotationPointY * f5,
            -this.shape5_38.rotationPointZ * f5);
    this.shape5_38.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_7.offsetX, this.shape5_7.offsetY, this.shape5_7.offsetZ);
    GL11.glTranslatef(this.shape5_7.rotationPointX * f5, this.shape5_7.rotationPointY * f5,
            this.shape5_7.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.1D, 0.4D);
    GL11.glTranslatef(-this.shape5_7.offsetX, -this.shape5_7.offsetY, -this.shape5_7.offsetZ);
    GL11.glTranslatef(-this.shape5_7.rotationPointX * f5, -this.shape5_7.rotationPointY * f5,
            -this.shape5_7.rotationPointZ * f5);
    this.shape5_7.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5.offsetX, this.shape5.offsetY, this.shape5.offsetZ);
    GL11.glTranslatef(this.shape5.rotationPointX * f5, this.shape5.rotationPointY * f5,
            this.shape5.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.5D);
    GL11.glTranslatef(-this.shape5.offsetX, -this.shape5.offsetY, -this.shape5.offsetZ);
    GL11.glTranslatef(-this.shape5.rotationPointX * f5, -this.shape5.rotationPointY * f5,
            -this.shape5.rotationPointZ * f5);
    this.shape5.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_27.offsetX, this.shape5_27.offsetY, this.shape5_27.offsetZ);
    GL11.glTranslatef(this.shape5_27.rotationPointX * f5, this.shape5_27.rotationPointY * f5,
            this.shape5_27.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_27.offsetX, -this.shape5_27.offsetY, -this.shape5_27.offsetZ);
    GL11.glTranslatef(-this.shape5_27.rotationPointX * f5, -this.shape5_27.rotationPointY * f5,
            -this.shape5_27.rotationPointZ * f5);
    this.shape5_27.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_29.offsetX, this.shape5_29.offsetY, this.shape5_29.offsetZ);
    GL11.glTranslatef(this.shape5_29.rotationPointX * f5, this.shape5_29.rotationPointY * f5,
            this.shape5_29.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.4D, 0.1D);
    GL11.glTranslatef(-this.shape5_29.offsetX, -this.shape5_29.offsetY, -this.shape5_29.offsetZ);
    GL11.glTranslatef(-this.shape5_29.rotationPointX * f5, -this.shape5_29.rotationPointY * f5,
            -this.shape5_29.rotationPointZ * f5);
    this.shape5_29.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_23.offsetX, this.shape5_23.offsetY, this.shape5_23.offsetZ);
    GL11.glTranslatef(this.shape5_23.rotationPointX * f5, this.shape5_23.rotationPointY * f5,
            this.shape5_23.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_23.offsetX, -this.shape5_23.offsetY, -this.shape5_23.offsetZ);
    GL11.glTranslatef(-this.shape5_23.rotationPointX * f5, -this.shape5_23.rotationPointY * f5,
            -this.shape5_23.rotationPointZ * f5);
    this.shape5_23.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_24.offsetX, this.shape5_24.offsetY, this.shape5_24.offsetZ);
    GL11.glTranslatef(this.shape5_24.rotationPointX * f5, this.shape5_24.rotationPointY * f5,
            this.shape5_24.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.3D, 0.2D);
    GL11.glTranslatef(-this.shape5_24.offsetX, -this.shape5_24.offsetY, -this.shape5_24.offsetZ);
    GL11.glTranslatef(-this.shape5_24.rotationPointX * f5, -this.shape5_24.rotationPointY * f5,
            -this.shape5_24.rotationPointZ * f5);
    this.shape5_24.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_1.offsetX, this.shape5_1.offsetY, this.shape5_1.offsetZ);
    GL11.glTranslatef(this.shape5_1.rotationPointX * f5, this.shape5_1.rotationPointY * f5,
            this.shape5_1.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.2D, 0.2D);
    GL11.glTranslatef(-this.shape5_1.offsetX, -this.shape5_1.offsetY, -this.shape5_1.offsetZ);
    GL11.glTranslatef(-this.shape5_1.rotationPointX * f5, -this.shape5_1.rotationPointY * f5,
            -this.shape5_1.rotationPointZ * f5);
    this.shape5_1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_13.offsetX, this.shape5_13.offsetY, this.shape5_13.offsetZ);
    GL11.glTranslatef(this.shape5_13.rotationPointX * f5, this.shape5_13.rotationPointY * f5,
            this.shape5_13.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.2D, 0.25D);
    GL11.glTranslatef(-this.shape5_13.offsetX, -this.shape5_13.offsetY, -this.shape5_13.offsetZ);
    GL11.glTranslatef(-this.shape5_13.rotationPointX * f5, -this.shape5_13.rotationPointY * f5,
            -this.shape5_13.rotationPointZ * f5);
    this.shape5_13.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_10.offsetX, this.shape5_10.offsetY, this.shape5_10.offsetZ);
    GL11.glTranslatef(this.shape5_10.rotationPointX * f5, this.shape5_10.rotationPointY * f5,
            this.shape5_10.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_10.offsetX, -this.shape5_10.offsetY, -this.shape5_10.offsetZ);
    GL11.glTranslatef(-this.shape5_10.rotationPointX * f5, -this.shape5_10.rotationPointY * f5,
            -this.shape5_10.rotationPointZ * f5);
    this.shape5_10.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_20.offsetX, this.shape5_20.offsetY, this.shape5_20.offsetZ);
    GL11.glTranslatef(this.shape5_20.rotationPointX * f5, this.shape5_20.rotationPointY * f5,
            this.shape5_20.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.2D, 0.25D);
    GL11.glTranslatef(-this.shape5_20.offsetX, -this.shape5_20.offsetY, -this.shape5_20.offsetZ);
    GL11.glTranslatef(-this.shape5_20.rotationPointX * f5, -this.shape5_20.rotationPointY * f5,
            -this.shape5_20.rotationPointZ * f5);
    this.shape5_20.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_18.offsetX, this.shape5_18.offsetY, this.shape5_18.offsetZ);
    GL11.glTranslatef(this.shape5_18.rotationPointX * f5, this.shape5_18.rotationPointY * f5,
            this.shape5_18.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.15D, 0.25D);
    GL11.glTranslatef(-this.shape5_18.offsetX, -this.shape5_18.offsetY, -this.shape5_18.offsetZ);
    GL11.glTranslatef(-this.shape5_18.rotationPointX * f5, -this.shape5_18.rotationPointY * f5,
            -this.shape5_18.rotationPointZ * f5);
    this.shape5_18.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_35.offsetX, this.shape5_35.offsetY, this.shape5_35.offsetZ);
    GL11.glTranslatef(this.shape5_35.rotationPointX * f5, this.shape5_35.rotationPointY * f5,
            this.shape5_35.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.1D, 0.4D);
    GL11.glTranslatef(-this.shape5_35.offsetX, -this.shape5_35.offsetY, -this.shape5_35.offsetZ);
    GL11.glTranslatef(-this.shape5_35.rotationPointX * f5, -this.shape5_35.rotationPointY * f5,
            -this.shape5_35.rotationPointZ * f5);
    this.shape5_35.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_15.offsetX, this.shape5_15.offsetY, this.shape5_15.offsetZ);
    GL11.glTranslatef(this.shape5_15.rotationPointX * f5, this.shape5_15.rotationPointY * f5,
            this.shape5_15.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_15.offsetX, -this.shape5_15.offsetY, -this.shape5_15.offsetZ);
    GL11.glTranslatef(-this.shape5_15.rotationPointX * f5, -this.shape5_15.rotationPointY * f5,
            -this.shape5_15.rotationPointZ * f5);
    this.shape5_15.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_16.offsetX, this.shape5_16.offsetY, this.shape5_16.offsetZ);
    GL11.glTranslatef(this.shape5_16.rotationPointX * f5, this.shape5_16.rotationPointY * f5,
            this.shape5_16.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.4D, 0.1D);
    GL11.glTranslatef(-this.shape5_16.offsetX, -this.shape5_16.offsetY, -this.shape5_16.offsetZ);
    GL11.glTranslatef(-this.shape5_16.rotationPointX * f5, -this.shape5_16.rotationPointY * f5,
            -this.shape5_16.rotationPointZ * f5);
    this.shape5_16.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_30.offsetX, this.shape5_30.offsetY, this.shape5_30.offsetZ);
    GL11.glTranslatef(this.shape5_30.rotationPointX * f5, this.shape5_30.rotationPointY * f5,
            this.shape5_30.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_30.offsetX, -this.shape5_30.offsetY, -this.shape5_30.offsetZ);
    GL11.glTranslatef(-this.shape5_30.rotationPointX * f5, -this.shape5_30.rotationPointY * f5,
            -this.shape5_30.rotationPointZ * f5);
    this.shape5_30.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_41.offsetX, this.shape5_41.offsetY, this.shape5_41.offsetZ);
    GL11.glTranslatef(this.shape5_41.rotationPointX * f5, this.shape5_41.rotationPointY * f5,
            this.shape5_41.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.2D, 0.25D);
    GL11.glTranslatef(-this.shape5_41.offsetX, -this.shape5_41.offsetY, -this.shape5_41.offsetZ);
    GL11.glTranslatef(-this.shape5_41.rotationPointX * f5, -this.shape5_41.rotationPointY * f5,
            -this.shape5_41.rotationPointZ * f5);
    this.shape5_41.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_39.offsetX, this.shape5_39.offsetY, this.shape5_39.offsetZ);
    GL11.glTranslatef(this.shape5_39.rotationPointX * f5, this.shape5_39.rotationPointY * f5,
            this.shape5_39.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.15D, 0.25D);
    GL11.glTranslatef(-this.shape5_39.offsetX, -this.shape5_39.offsetY, -this.shape5_39.offsetZ);
    GL11.glTranslatef(-this.shape5_39.rotationPointX * f5, -this.shape5_39.rotationPointY * f5,
            -this.shape5_39.rotationPointZ * f5);
    this.shape5_39.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_5.offsetX, this.shape5_5.offsetY, this.shape5_5.offsetZ);
    GL11.glTranslatef(this.shape5_5.rotationPointX * f5, this.shape5_5.rotationPointY * f5,
            this.shape5_5.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_5.offsetX, -this.shape5_5.offsetY, -this.shape5_5.offsetZ);
    GL11.glTranslatef(-this.shape5_5.rotationPointX * f5, -this.shape5_5.rotationPointY * f5,
            -this.shape5_5.rotationPointZ * f5);
    this.shape5_5.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_14.offsetX, this.shape5_14.offsetY, this.shape5_14.offsetZ);
    GL11.glTranslatef(this.shape5_14.rotationPointX * f5, this.shape5_14.rotationPointY * f5,
            this.shape5_14.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.1D, 0.4D);
    GL11.glTranslatef(-this.shape5_14.offsetX, -this.shape5_14.offsetY, -this.shape5_14.offsetZ);
    GL11.glTranslatef(-this.shape5_14.rotationPointX * f5, -this.shape5_14.rotationPointY * f5,
            -this.shape5_14.rotationPointZ * f5);
    this.shape5_14.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_3.offsetX, this.shape5_3.offsetY, this.shape5_3.offsetZ);
    GL11.glTranslatef(this.shape5_3.rotationPointX * f5, this.shape5_3.rotationPointY * f5,
            this.shape5_3.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.3D, 0.2D);
    GL11.glTranslatef(-this.shape5_3.offsetX, -this.shape5_3.offsetY, -this.shape5_3.offsetZ);
    GL11.glTranslatef(-this.shape5_3.rotationPointX * f5, -this.shape5_3.rotationPointY * f5,
            -this.shape5_3.rotationPointZ * f5);
    this.shape5_3.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_40.offsetX, this.shape5_40.offsetY, this.shape5_40.offsetZ);
    GL11.glTranslatef(this.shape5_40.rotationPointX * f5, this.shape5_40.rotationPointY * f5,
            this.shape5_40.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.5D, 0.35D);
    GL11.glTranslatef(-this.shape5_40.offsetX, -this.shape5_40.offsetY, -this.shape5_40.offsetZ);
    GL11.glTranslatef(-this.shape5_40.rotationPointX * f5, -this.shape5_40.rotationPointY * f5,
            -this.shape5_40.rotationPointZ * f5);
    this.shape5_40.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_21.offsetX, this.shape5_21.offsetY, this.shape5_21.offsetZ);
    GL11.glTranslatef(this.shape5_21.rotationPointX * f5, this.shape5_21.rotationPointY * f5,
            this.shape5_21.rotationPointZ * f5);
    GL11.glScaled(1.0D, 1.0D, 0.5D);
    GL11.glTranslatef(-this.shape5_21.offsetX, -this.shape5_21.offsetY, -this.shape5_21.offsetZ);
    GL11.glTranslatef(-this.shape5_21.rotationPointX * f5, -this.shape5_21.rotationPointY * f5,
            -this.shape5_21.rotationPointZ * f5);
    this.shape5_21.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_28.offsetX, this.shape5_28.offsetY, this.shape5_28.offsetZ);
    GL11.glTranslatef(this.shape5_28.rotationPointX * f5, this.shape5_28.rotationPointY * f5,
            this.shape5_28.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.1D, 0.4D);
    GL11.glTranslatef(-this.shape5_28.offsetX, -this.shape5_28.offsetY, -this.shape5_28.offsetZ);
    GL11.glTranslatef(-this.shape5_28.rotationPointX * f5, -this.shape5_28.rotationPointY * f5,
            -this.shape5_28.rotationPointZ * f5);
    this.shape5_28.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape1.offsetX, this.shape1.offsetY, this.shape1.offsetZ);
    GL11.glTranslatef(this.shape1.rotationPointX * f5, this.shape1.rotationPointY * f5,
            this.shape1.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.5D, 0.9D);
    GL11.glTranslatef(-this.shape1.offsetX, -this.shape1.offsetY, -this.shape1.offsetZ);
    GL11.glTranslatef(-this.shape1.rotationPointX * f5, -this.shape1.rotationPointY * f5,
            -this.shape1.rotationPointZ * f5);
    this.shape1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_19.offsetX, this.shape5_19.offsetY, this.shape5_19.offsetZ);
    GL11.glTranslatef(this.shape5_19.rotationPointX * f5, this.shape5_19.rotationPointY * f5,
            this.shape5_19.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.5D, 0.35D);
    GL11.glTranslatef(-this.shape5_19.offsetX, -this.shape5_19.offsetY, -this.shape5_19.offsetZ);
    GL11.glTranslatef(-this.shape5_19.rotationPointX * f5, -this.shape5_19.rotationPointY * f5,
            -this.shape5_19.rotationPointZ * f5);
    this.shape5_19.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_2.offsetX, this.shape5_2.offsetY, this.shape5_2.offsetZ);
    GL11.glTranslatef(this.shape5_2.rotationPointX * f5, this.shape5_2.rotationPointY * f5,
            this.shape5_2.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_2.offsetX, -this.shape5_2.offsetY, -this.shape5_2.offsetZ);
    GL11.glTranslatef(-this.shape5_2.rotationPointX * f5, -this.shape5_2.rotationPointY * f5,
            -this.shape5_2.rotationPointZ * f5);
    this.shape5_2.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_11.offsetX, this.shape5_11.offsetY, this.shape5_11.offsetZ);
    GL11.glTranslatef(this.shape5_11.rotationPointX * f5, this.shape5_11.rotationPointY * f5,
            this.shape5_11.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.15D, 0.25D);
    GL11.glTranslatef(-this.shape5_11.offsetX, -this.shape5_11.offsetY, -this.shape5_11.offsetZ);
    GL11.glTranslatef(-this.shape5_11.rotationPointX * f5, -this.shape5_11.rotationPointY * f5,
            -this.shape5_11.rotationPointZ * f5);
    this.shape5_11.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_25.offsetX, this.shape5_25.offsetY, this.shape5_25.offsetZ);
    GL11.glTranslatef(this.shape5_25.rotationPointX * f5, this.shape5_25.rotationPointY * f5,
            this.shape5_25.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_25.offsetX, -this.shape5_25.offsetY, -this.shape5_25.offsetZ);
    GL11.glTranslatef(-this.shape5_25.rotationPointX * f5, -this.shape5_25.rotationPointY * f5,
            -this.shape5_25.rotationPointZ * f5);
    this.shape5_25.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_34.offsetX, this.shape5_34.offsetY, this.shape5_34.offsetZ);
    GL11.glTranslatef(this.shape5_34.rotationPointX * f5, this.shape5_34.rotationPointY * f5,
            this.shape5_34.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.2D, 0.25D);
    GL11.glTranslatef(-this.shape5_34.offsetX, -this.shape5_34.offsetY, -this.shape5_34.offsetZ);
    GL11.glTranslatef(-this.shape5_34.rotationPointX * f5, -this.shape5_34.rotationPointY * f5,
            -this.shape5_34.rotationPointZ * f5);
    this.shape5_34.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_4.offsetX, this.shape5_4.offsetY, this.shape5_4.offsetZ);
    GL11.glTranslatef(this.shape5_4.rotationPointX * f5, this.shape5_4.rotationPointY * f5,
            this.shape5_4.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_4.offsetX, -this.shape5_4.offsetY, -this.shape5_4.offsetZ);
    GL11.glTranslatef(-this.shape5_4.rotationPointX * f5, -this.shape5_4.rotationPointY * f5,
            -this.shape5_4.rotationPointZ * f5);
    this.shape5_4.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_9.offsetX, this.shape5_9.offsetY, this.shape5_9.offsetZ);
    GL11.glTranslatef(this.shape5_9.rotationPointX * f5, this.shape5_9.rotationPointY * f5,
            this.shape5_9.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape5_9.offsetX, -this.shape5_9.offsetY, -this.shape5_9.offsetZ);
    GL11.glTranslatef(-this.shape5_9.rotationPointX * f5, -this.shape5_9.rotationPointY * f5,
            -this.shape5_9.rotationPointZ * f5);
    this.shape5_9.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_12.offsetX, this.shape5_12.offsetY, this.shape5_12.offsetZ);
    GL11.glTranslatef(this.shape5_12.rotationPointX * f5, this.shape5_12.rotationPointY * f5,
            this.shape5_12.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.5D, 0.35D);
    GL11.glTranslatef(-this.shape5_12.offsetX, -this.shape5_12.offsetY, -this.shape5_12.offsetZ);
    GL11.glTranslatef(-this.shape5_12.rotationPointX * f5, -this.shape5_12.rotationPointY * f5,
            -this.shape5_12.rotationPointZ * f5);
    this.shape5_12.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_22.offsetX, this.shape5_22.offsetY, this.shape5_22.offsetZ);
    GL11.glTranslatef(this.shape5_22.rotationPointX * f5, this.shape5_22.rotationPointY * f5,
            this.shape5_22.rotationPointZ * f5);
    GL11.glScaled(1.0D, 0.2D, 0.2D);
    GL11.glTranslatef(-this.shape5_22.offsetX, -this.shape5_22.offsetY, -this.shape5_22.offsetZ);
    GL11.glTranslatef(-this.shape5_22.rotationPointX * f5, -this.shape5_22.rotationPointY * f5,
            -this.shape5_22.rotationPointZ * f5);
    this.shape5_22.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_26.offsetX, this.shape5_26.offsetY, this.shape5_26.offsetZ);
    GL11.glTranslatef(this.shape5_26.rotationPointX * f5, this.shape5_26.rotationPointY * f5,
            this.shape5_26.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_26.offsetX, -this.shape5_26.offsetY, -this.shape5_26.offsetZ);
    GL11.glTranslatef(-this.shape5_26.rotationPointX * f5, -this.shape5_26.rotationPointY * f5,
            -this.shape5_26.rotationPointZ * f5);
    this.shape5_26.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_32.offsetX, this.shape5_32.offsetY, this.shape5_32.offsetZ);
    GL11.glTranslatef(this.shape5_32.rotationPointX * f5, this.shape5_32.rotationPointY * f5,
            this.shape5_32.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.15D, 0.25D);
    GL11.glTranslatef(-this.shape5_32.offsetX, -this.shape5_32.offsetY, -this.shape5_32.offsetZ);
    GL11.glTranslatef(-this.shape5_32.rotationPointX * f5, -this.shape5_32.rotationPointY * f5,
            -this.shape5_32.rotationPointZ * f5);
    this.shape5_32.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_8.offsetX, this.shape5_8.offsetY, this.shape5_8.offsetZ);
    GL11.glTranslatef(this.shape5_8.rotationPointX * f5, this.shape5_8.rotationPointY * f5,
            this.shape5_8.rotationPointZ * f5);
    GL11.glScaled(0.7D, 0.4D, 0.1D);
    GL11.glTranslatef(-this.shape5_8.offsetX, -this.shape5_8.offsetY, -this.shape5_8.offsetZ);
    GL11.glTranslatef(-this.shape5_8.rotationPointX * f5, -this.shape5_8.rotationPointY * f5,
            -this.shape5_8.rotationPointZ * f5);
    this.shape5_8.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape5_6.offsetX, this.shape5_6.offsetY, this.shape5_6.offsetZ);
    GL11.glTranslatef(this.shape5_6.rotationPointX * f5, this.shape5_6.rotationPointY * f5,
            this.shape5_6.rotationPointZ * f5);
    GL11.glScaled(0.1D, 0.8D, 0.1D);
    GL11.glTranslatef(-this.shape5_6.offsetX, -this.shape5_6.offsetY, -this.shape5_6.offsetZ);
    GL11.glTranslatef(-this.shape5_6.rotationPointX * f5, -this.shape5_6.rotationPointY * f5,
            -this.shape5_6.rotationPointZ * f5);
    this.shape5_6.render(f5);
    GL11.glPopMatrix();
    GL11.glPopMatrix();
}

From source file:buildcraftAdditions.client.models.ModelKineticDuster.java

License:GNU General Public License

@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
    this.cube.render(f5);
    this.shape11_2.render(f5);
    GL11.glPushMatrix();/*from w w  w . j  a va2s . com*/
    GL11.glTranslatef(this.shape24_3.offsetX, this.shape24_3.offsetY, this.shape24_3.offsetZ);
    GL11.glTranslatef(this.shape24_3.rotationPointX * f5, this.shape24_3.rotationPointY * f5,
            this.shape24_3.rotationPointZ * f5);
    GL11.glScaled(1.0D, 6.0D, 14.0D);
    GL11.glTranslatef(-this.shape24_3.offsetX, -this.shape24_3.offsetY, -this.shape24_3.offsetZ);
    GL11.glTranslatef(-this.shape24_3.rotationPointX * f5, -this.shape24_3.rotationPointY * f5,
            -this.shape24_3.rotationPointZ * f5);
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.2F);
    this.shape24_3.render(f5);
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glPopMatrix();
    this.shape11_7.render(f5);
    this.shape11_5.render(f5);
    this.shape11_1.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape24_1.offsetX, this.shape24_1.offsetY, this.shape24_1.offsetZ);
    GL11.glTranslatef(this.shape24_1.rotationPointX * f5, this.shape24_1.rotationPointY * f5,
            this.shape24_1.rotationPointZ * f5);
    GL11.glScaled(1.0D, 6.0D, 14.0D);
    GL11.glTranslatef(-this.shape24_1.offsetX, -this.shape24_1.offsetY, -this.shape24_1.offsetZ);
    GL11.glTranslatef(-this.shape24_1.rotationPointX * f5, -this.shape24_1.rotationPointY * f5,
            -this.shape24_1.rotationPointZ * f5);
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.2F);
    this.shape24_1.render(f5);
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape24_2.offsetX, this.shape24_2.offsetY, this.shape24_2.offsetZ);
    GL11.glTranslatef(this.shape24_2.rotationPointX * f5, this.shape24_2.rotationPointY * f5,
            this.shape24_2.rotationPointZ * f5);
    GL11.glScaled(1.0D, 6.0D, 14.0D);
    GL11.glTranslatef(-this.shape24_2.offsetX, -this.shape24_2.offsetY, -this.shape24_2.offsetZ);
    GL11.glTranslatef(-this.shape24_2.rotationPointX * f5, -this.shape24_2.rotationPointY * f5,
            -this.shape24_2.rotationPointZ * f5);
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.2F);
    this.shape24_2.render(f5);
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape24_5.offsetX, this.shape24_5.offsetY, this.shape24_5.offsetZ);
    GL11.glTranslatef(this.shape24_5.rotationPointX * f5, this.shape24_5.rotationPointY * f5,
            this.shape24_5.rotationPointZ * f5);
    GL11.glScaled(14.0D, 1.0D, 14.0D);
    GL11.glTranslatef(-this.shape24_5.offsetX, -this.shape24_5.offsetY, -this.shape24_5.offsetZ);
    GL11.glTranslatef(-this.shape24_5.rotationPointX * f5, -this.shape24_5.rotationPointY * f5,
            -this.shape24_5.rotationPointZ * f5);
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.2F);
    this.shape24_5.render(f5);
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glPopMatrix();
    this.shape11_4.render(f5);
    this.shape11_3.render(f5);
    this.shape11_6.render(f5);
    this.shape11.render(f5);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape24.offsetX, this.shape24.offsetY, this.shape24.offsetZ);
    GL11.glTranslatef(this.shape24.rotationPointX * f5, this.shape24.rotationPointY * f5,
            this.shape24.rotationPointZ * f5);
    GL11.glScaled(14.0D, 6.0D, 1.0D);
    GL11.glTranslatef(-this.shape24.offsetX, -this.shape24.offsetY, -this.shape24.offsetZ);
    GL11.glTranslatef(-this.shape24.rotationPointX * f5, -this.shape24.rotationPointY * f5,
            -this.shape24.rotationPointZ * f5);
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.2F);
    this.shape24.render(f5);
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape24_4.offsetX, this.shape24_4.offsetY, this.shape24_4.offsetZ);
    GL11.glTranslatef(this.shape24_4.rotationPointX * f5, this.shape24_4.rotationPointY * f5,
            this.shape24_4.rotationPointZ * f5);
    GL11.glScaled(14.0D, 6.0D, 1.0D);
    GL11.glTranslatef(-this.shape24_4.offsetX, -this.shape24_4.offsetY, -this.shape24_4.offsetZ);
    GL11.glTranslatef(-this.shape24_4.rotationPointX * f5, -this.shape24_4.rotationPointY * f5,
            -this.shape24_4.rotationPointZ * f5);
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.2F);
    this.shape24_4.render(f5);
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glPopMatrix();
}

From source file:buildcraftAdditions.client.models.ModelRocketPants.java

License:GNU General Public License

private void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5, float offsetX,
        float offsetY, float offsetZ) {
    GL11.glPushMatrix();/*from   ww w  .  j  ava  2s.co  m*/
    GL11.glTranslatef(offsetX, offsetY, offsetZ);
    RenderUtils.bindTexture(TEXTURE);
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_18.offsetX, this.shape9_18.offsetY, this.shape9_18.offsetZ);
    GL11.glTranslatef(this.shape9_18.rotationPointX * f5, this.shape9_18.rotationPointY * f5,
            this.shape9_18.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.5D, 0.6D);
    GL11.glTranslatef(-this.shape9_18.offsetX, -this.shape9_18.offsetY, -this.shape9_18.offsetZ);
    GL11.glTranslatef(-this.shape9_18.rotationPointX * f5, -this.shape9_18.rotationPointY * f5,
            -this.shape9_18.rotationPointZ * f5);
    this.shape9_18.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_24.offsetX, this.shape9_24.offsetY, this.shape9_24.offsetZ);
    GL11.glTranslatef(this.shape9_24.rotationPointX * f5, this.shape9_24.rotationPointY * f5,
            this.shape9_24.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.8D, 1.0D);
    GL11.glTranslatef(-this.shape9_24.offsetX, -this.shape9_24.offsetY, -this.shape9_24.offsetZ);
    GL11.glTranslatef(-this.shape9_24.rotationPointX * f5, -this.shape9_24.rotationPointY * f5,
            -this.shape9_24.rotationPointZ * f5);
    this.shape9_24.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_10.offsetX, this.shape9_10.offsetY, this.shape9_10.offsetZ);
    GL11.glTranslatef(this.shape9_10.rotationPointX * f5, this.shape9_10.rotationPointY * f5,
            this.shape9_10.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.2D, 0.2D);
    GL11.glTranslatef(-this.shape9_10.offsetX, -this.shape9_10.offsetY, -this.shape9_10.offsetZ);
    GL11.glTranslatef(-this.shape9_10.rotationPointX * f5, -this.shape9_10.rotationPointY * f5,
            -this.shape9_10.rotationPointZ * f5);
    this.shape9_10.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_17.offsetX, this.shape9_17.offsetY, this.shape9_17.offsetZ);
    GL11.glTranslatef(this.shape9_17.rotationPointX * f5, this.shape9_17.rotationPointY * f5,
            this.shape9_17.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.6D, 0.8D);
    GL11.glTranslatef(-this.shape9_17.offsetX, -this.shape9_17.offsetY, -this.shape9_17.offsetZ);
    GL11.glTranslatef(-this.shape9_17.rotationPointX * f5, -this.shape9_17.rotationPointY * f5,
            -this.shape9_17.rotationPointZ * f5);
    this.shape9_17.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_9.offsetX, this.shape9_9.offsetY, this.shape9_9.offsetZ);
    GL11.glTranslatef(this.shape9_9.rotationPointX * f5, this.shape9_9.rotationPointY * f5,
            this.shape9_9.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.5D, 1.0D);
    GL11.glTranslatef(-this.shape9_9.offsetX, -this.shape9_9.offsetY, -this.shape9_9.offsetZ);
    GL11.glTranslatef(-this.shape9_9.rotationPointX * f5, -this.shape9_9.rotationPointY * f5,
            -this.shape9_9.rotationPointZ * f5);
    this.shape9_9.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_31.offsetX, this.shape9_31.offsetY, this.shape9_31.offsetZ);
    GL11.glTranslatef(this.shape9_31.rotationPointX * f5, this.shape9_31.rotationPointY * f5,
            this.shape9_31.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.6D, 0.6D);
    GL11.glTranslatef(-this.shape9_31.offsetX, -this.shape9_31.offsetY, -this.shape9_31.offsetZ);
    GL11.glTranslatef(-this.shape9_31.rotationPointX * f5, -this.shape9_31.rotationPointY * f5,
            -this.shape9_31.rotationPointZ * f5);
    this.shape9_31.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_1.offsetX, this.shape9_1.offsetY, this.shape9_1.offsetZ);
    GL11.glTranslatef(this.shape9_1.rotationPointX * f5, this.shape9_1.rotationPointY * f5,
            this.shape9_1.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.8D, 0.7D);
    GL11.glTranslatef(-this.shape9_1.offsetX, -this.shape9_1.offsetY, -this.shape9_1.offsetZ);
    GL11.glTranslatef(-this.shape9_1.rotationPointX * f5, -this.shape9_1.rotationPointY * f5,
            -this.shape9_1.rotationPointZ * f5);
    this.shape9_1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_13.offsetX, this.shape9_13.offsetY, this.shape9_13.offsetZ);
    GL11.glTranslatef(this.shape9_13.rotationPointX * f5, this.shape9_13.rotationPointY * f5,
            this.shape9_13.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.5D);
    GL11.glTranslatef(-this.shape9_13.offsetX, -this.shape9_13.offsetY, -this.shape9_13.offsetZ);
    GL11.glTranslatef(-this.shape9_13.rotationPointX * f5, -this.shape9_13.rotationPointY * f5,
            -this.shape9_13.rotationPointZ * f5);
    this.shape9_13.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.frl_3.offsetX, this.frl_3.offsetY, this.frl_3.offsetZ);
    GL11.glTranslatef(this.frl_3.rotationPointX * f5, this.frl_3.rotationPointY * f5,
            this.frl_3.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.5D, 0.4D);
    GL11.glTranslatef(-this.frl_3.offsetX, -this.frl_3.offsetY, -this.frl_3.offsetZ);
    GL11.glTranslatef(-this.frl_3.rotationPointX * f5, -this.frl_3.rotationPointY * f5,
            -this.frl_3.rotationPointZ * f5);
    this.frl_3.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_11.offsetX, this.shape9_11.offsetY, this.shape9_11.offsetZ);
    GL11.glTranslatef(this.shape9_11.rotationPointX * f5, this.shape9_11.rotationPointY * f5,
            this.shape9_11.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.8D, 0.8D);
    GL11.glTranslatef(-this.shape9_11.offsetX, -this.shape9_11.offsetY, -this.shape9_11.offsetZ);
    GL11.glTranslatef(-this.shape9_11.rotationPointX * f5, -this.shape9_11.rotationPointY * f5,
            -this.shape9_11.rotationPointZ * f5);
    this.shape9_11.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.frl.offsetX, this.frl.offsetY, this.frl.offsetZ);
    GL11.glTranslatef(this.frl.rotationPointX * f5, this.frl.rotationPointY * f5, this.frl.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.5D, 0.4D);
    GL11.glTranslatef(-this.frl.offsetX, -this.frl.offsetY, -this.frl.offsetZ);
    GL11.glTranslatef(-this.frl.rotationPointX * f5, -this.frl.rotationPointY * f5,
            -this.frl.rotationPointZ * f5);
    this.frl.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_28.offsetX, this.shape9_28.offsetY, this.shape9_28.offsetZ);
    GL11.glTranslatef(this.shape9_28.rotationPointX * f5, this.shape9_28.rotationPointY * f5,
            this.shape9_28.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.8D, 0.8D);
    GL11.glTranslatef(-this.shape9_28.offsetX, -this.shape9_28.offsetY, -this.shape9_28.offsetZ);
    GL11.glTranslatef(-this.shape9_28.rotationPointX * f5, -this.shape9_28.rotationPointY * f5,
            -this.shape9_28.rotationPointZ * f5);
    this.shape9_28.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_26.offsetX, this.shape9_26.offsetY, this.shape9_26.offsetZ);
    GL11.glTranslatef(this.shape9_26.rotationPointX * f5, this.shape9_26.rotationPointY * f5,
            this.shape9_26.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.5D, 0.6D);
    GL11.glTranslatef(-this.shape9_26.offsetX, -this.shape9_26.offsetY, -this.shape9_26.offsetZ);
    GL11.glTranslatef(-this.shape9_26.rotationPointX * f5, -this.shape9_26.rotationPointY * f5,
            -this.shape9_26.rotationPointZ * f5);
    this.shape9_26.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_12.offsetX, this.shape9_12.offsetY, this.shape9_12.offsetZ);
    GL11.glTranslatef(this.shape9_12.rotationPointX * f5, this.shape9_12.rotationPointY * f5,
            this.shape9_12.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.8D, 0.4D);
    GL11.glTranslatef(-this.shape9_12.offsetX, -this.shape9_12.offsetY, -this.shape9_12.offsetZ);
    GL11.glTranslatef(-this.shape9_12.rotationPointX * f5, -this.shape9_12.rotationPointY * f5,
            -this.shape9_12.rotationPointZ * f5);
    this.shape9_12.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_16.offsetX, this.shape9_16.offsetY, this.shape9_16.offsetZ);
    GL11.glTranslatef(this.shape9_16.rotationPointX * f5, this.shape9_16.rotationPointY * f5,
            this.shape9_16.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.8D, 1.0D);
    GL11.glTranslatef(-this.shape9_16.offsetX, -this.shape9_16.offsetY, -this.shape9_16.offsetZ);
    GL11.glTranslatef(-this.shape9_16.rotationPointX * f5, -this.shape9_16.rotationPointY * f5,
            -this.shape9_16.rotationPointZ * f5);
    this.shape9_16.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_7.offsetX, this.shape9_7.offsetY, this.shape9_7.offsetZ);
    GL11.glTranslatef(this.shape9_7.rotationPointX * f5, this.shape9_7.rotationPointY * f5,
            this.shape9_7.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.8D, 0.8D);
    GL11.glTranslatef(-this.shape9_7.offsetX, -this.shape9_7.offsetY, -this.shape9_7.offsetZ);
    GL11.glTranslatef(-this.shape9_7.rotationPointX * f5, -this.shape9_7.rotationPointY * f5,
            -this.shape9_7.rotationPointZ * f5);
    this.shape9_7.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_15.offsetX, this.shape9_15.offsetY, this.shape9_15.offsetZ);
    GL11.glTranslatef(this.shape9_15.rotationPointX * f5, this.shape9_15.rotationPointY * f5,
            this.shape9_15.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.2D, 0.3D);
    GL11.glTranslatef(-this.shape9_15.offsetX, -this.shape9_15.offsetY, -this.shape9_15.offsetZ);
    GL11.glTranslatef(-this.shape9_15.rotationPointX * f5, -this.shape9_15.rotationPointY * f5,
            -this.shape9_15.rotationPointZ * f5);
    this.shape9_15.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_14.offsetX, this.shape9_14.offsetY, this.shape9_14.offsetZ);
    GL11.glTranslatef(this.shape9_14.rotationPointX * f5, this.shape9_14.rotationPointY * f5,
            this.shape9_14.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape9_14.offsetX, -this.shape9_14.offsetY, -this.shape9_14.offsetZ);
    GL11.glTranslatef(-this.shape9_14.rotationPointX * f5, -this.shape9_14.rotationPointY * f5,
            -this.shape9_14.rotationPointZ * f5);
    this.shape9_14.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_30.offsetX, this.shape9_30.offsetY, this.shape9_30.offsetZ);
    GL11.glTranslatef(this.shape9_30.rotationPointX * f5, this.shape9_30.rotationPointY * f5,
            this.shape9_30.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.8D, 0.8D);
    GL11.glTranslatef(-this.shape9_30.offsetX, -this.shape9_30.offsetY, -this.shape9_30.offsetZ);
    GL11.glTranslatef(-this.shape9_30.rotationPointX * f5, -this.shape9_30.rotationPointY * f5,
            -this.shape9_30.rotationPointZ * f5);
    this.shape9_30.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_2.offsetX, this.shape9_2.offsetY, this.shape9_2.offsetZ);
    GL11.glTranslatef(this.shape9_2.rotationPointX * f5, this.shape9_2.rotationPointY * f5,
            this.shape9_2.rotationPointZ * f5);
    GL11.glScaled(0.9D, 0.3D, 0.7D);
    GL11.glTranslatef(-this.shape9_2.offsetX, -this.shape9_2.offsetY, -this.shape9_2.offsetZ);
    GL11.glTranslatef(-this.shape9_2.rotationPointX * f5, -this.shape9_2.rotationPointY * f5,
            -this.shape9_2.rotationPointZ * f5);
    this.shape9_2.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_20.offsetX, this.shape9_20.offsetY, this.shape9_20.offsetZ);
    GL11.glTranslatef(this.shape9_20.rotationPointX * f5, this.shape9_20.rotationPointY * f5,
            this.shape9_20.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.8D, 0.8D);
    GL11.glTranslatef(-this.shape9_20.offsetX, -this.shape9_20.offsetY, -this.shape9_20.offsetZ);
    GL11.glTranslatef(-this.shape9_20.rotationPointX * f5, -this.shape9_20.rotationPointY * f5,
            -this.shape9_20.rotationPointZ * f5);
    this.shape9_20.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_4.offsetX, this.shape9_4.offsetY, this.shape9_4.offsetZ);
    GL11.glTranslatef(this.shape9_4.rotationPointX * f5, this.shape9_4.rotationPointY * f5,
            this.shape9_4.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.5D);
    GL11.glTranslatef(-this.shape9_4.offsetX, -this.shape9_4.offsetY, -this.shape9_4.offsetZ);
    GL11.glTranslatef(-this.shape9_4.rotationPointX * f5, -this.shape9_4.rotationPointY * f5,
            -this.shape9_4.rotationPointZ * f5);
    this.shape9_4.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.frl_2.offsetX, this.frl_2.offsetY, this.frl_2.offsetZ);
    GL11.glTranslatef(this.frl_2.rotationPointX * f5, this.frl_2.rotationPointY * f5,
            this.frl_2.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.5D, 0.4D);
    GL11.glTranslatef(-this.frl_2.offsetX, -this.frl_2.offsetY, -this.frl_2.offsetZ);
    GL11.glTranslatef(-this.frl_2.rotationPointX * f5, -this.frl_2.rotationPointY * f5,
            -this.frl_2.rotationPointZ * f5);
    this.frl_2.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_19.offsetX, this.shape9_19.offsetY, this.shape9_19.offsetZ);
    GL11.glTranslatef(this.shape9_19.rotationPointX * f5, this.shape9_19.rotationPointY * f5,
            this.shape9_19.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape9_19.offsetX, -this.shape9_19.offsetY, -this.shape9_19.offsetZ);
    GL11.glTranslatef(-this.shape9_19.rotationPointX * f5, -this.shape9_19.rotationPointY * f5,
            -this.shape9_19.rotationPointZ * f5);
    this.shape9_19.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9.offsetX, this.shape9.offsetY, this.shape9.offsetZ);
    GL11.glTranslatef(this.shape9.rotationPointX * f5, this.shape9.rotationPointY * f5,
            this.shape9.rotationPointZ * f5);
    GL11.glScaled(0.6D, 0.8D, 0.6D);
    GL11.glTranslatef(-this.shape9.offsetX, -this.shape9.offsetY, -this.shape9.offsetZ);
    GL11.glTranslatef(-this.shape9.rotationPointX * f5, -this.shape9.rotationPointY * f5,
            -this.shape9.rotationPointZ * f5);
    this.shape9.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_5.offsetX, this.shape9_5.offsetY, this.shape9_5.offsetZ);
    GL11.glTranslatef(this.shape9_5.rotationPointX * f5, this.shape9_5.rotationPointY * f5,
            this.shape9_5.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.3D, 0.3D);
    GL11.glTranslatef(-this.shape9_5.offsetX, -this.shape9_5.offsetY, -this.shape9_5.offsetZ);
    GL11.glTranslatef(-this.shape9_5.rotationPointX * f5, -this.shape9_5.rotationPointY * f5,
            -this.shape9_5.rotationPointZ * f5);
    this.shape9_5.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_27.offsetX, this.shape9_27.offsetY, this.shape9_27.offsetZ);
    GL11.glTranslatef(this.shape9_27.rotationPointX * f5, this.shape9_27.rotationPointY * f5,
            this.shape9_27.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.4D, 0.4D);
    GL11.glTranslatef(-this.shape9_27.offsetX, -this.shape9_27.offsetY, -this.shape9_27.offsetZ);
    GL11.glTranslatef(-this.shape9_27.rotationPointX * f5, -this.shape9_27.rotationPointY * f5,
            -this.shape9_27.rotationPointZ * f5);
    this.shape9_27.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_22.offsetX, this.shape9_22.offsetY, this.shape9_22.offsetZ);
    GL11.glTranslatef(this.shape9_22.rotationPointX * f5, this.shape9_22.rotationPointY * f5,
            this.shape9_22.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.6D, 0.6D);
    GL11.glTranslatef(-this.shape9_22.offsetX, -this.shape9_22.offsetY, -this.shape9_22.offsetZ);
    GL11.glTranslatef(-this.shape9_22.rotationPointX * f5, -this.shape9_22.rotationPointY * f5,
            -this.shape9_22.rotationPointZ * f5);
    this.shape9_22.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_21.offsetX, this.shape9_21.offsetY, this.shape9_21.offsetZ);
    GL11.glTranslatef(this.shape9_21.rotationPointX * f5, this.shape9_21.rotationPointY * f5,
            this.shape9_21.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.6D, 0.6D);
    GL11.glTranslatef(-this.shape9_21.offsetX, -this.shape9_21.offsetY, -this.shape9_21.offsetZ);
    GL11.glTranslatef(-this.shape9_21.rotationPointX * f5, -this.shape9_21.rotationPointY * f5,
            -this.shape9_21.rotationPointZ * f5);
    this.shape9_21.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_29.offsetX, this.shape9_29.offsetY, this.shape9_29.offsetZ);
    GL11.glTranslatef(this.shape9_29.rotationPointX * f5, this.shape9_29.rotationPointY * f5,
            this.shape9_29.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.6D, 0.6D);
    GL11.glTranslatef(-this.shape9_29.offsetX, -this.shape9_29.offsetY, -this.shape9_29.offsetZ);
    GL11.glTranslatef(-this.shape9_29.rotationPointX * f5, -this.shape9_29.rotationPointY * f5,
            -this.shape9_29.rotationPointZ * f5);
    this.shape9_29.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_8.offsetX, this.shape9_8.offsetY, this.shape9_8.offsetZ);
    GL11.glTranslatef(this.shape9_8.rotationPointX * f5, this.shape9_8.rotationPointY * f5,
            this.shape9_8.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.8D, 0.4D);
    GL11.glTranslatef(-this.shape9_8.offsetX, -this.shape9_8.offsetY, -this.shape9_8.offsetZ);
    GL11.glTranslatef(-this.shape9_8.rotationPointX * f5, -this.shape9_8.rotationPointY * f5,
            -this.shape9_8.rotationPointZ * f5);
    this.shape9_8.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_23.offsetX, this.shape9_23.offsetY, this.shape9_23.offsetZ);
    GL11.glTranslatef(this.shape9_23.rotationPointX * f5, this.shape9_23.rotationPointY * f5,
            this.shape9_23.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.8D, 0.8D);
    GL11.glTranslatef(-this.shape9_23.offsetX, -this.shape9_23.offsetY, -this.shape9_23.offsetZ);
    GL11.glTranslatef(-this.shape9_23.rotationPointX * f5, -this.shape9_23.rotationPointY * f5,
            -this.shape9_23.rotationPointZ * f5);
    this.shape9_23.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.frl_1.offsetX, this.frl_1.offsetY, this.frl_1.offsetZ);
    GL11.glTranslatef(this.frl_1.rotationPointX * f5, this.frl_1.rotationPointY * f5,
            this.frl_1.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.5D, 0.4D);
    GL11.glTranslatef(-this.frl_1.offsetX, -this.frl_1.offsetY, -this.frl_1.offsetZ);
    GL11.glTranslatef(-this.frl_1.rotationPointX * f5, -this.frl_1.rotationPointY * f5,
            -this.frl_1.rotationPointZ * f5);
    this.frl_1.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_3.offsetX, this.shape9_3.offsetY, this.shape9_3.offsetZ);
    GL11.glTranslatef(this.shape9_3.rotationPointX * f5, this.shape9_3.rotationPointY * f5,
            this.shape9_3.rotationPointZ * f5);
    GL11.glScaled(0.3D, 0.8D, 0.7D);
    GL11.glTranslatef(-this.shape9_3.offsetX, -this.shape9_3.offsetY, -this.shape9_3.offsetZ);
    GL11.glTranslatef(-this.shape9_3.rotationPointX * f5, -this.shape9_3.rotationPointY * f5,
            -this.shape9_3.rotationPointZ * f5);
    this.shape9_3.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_25.offsetX, this.shape9_25.offsetY, this.shape9_25.offsetZ);
    GL11.glTranslatef(this.shape9_25.rotationPointX * f5, this.shape9_25.rotationPointY * f5,
            this.shape9_25.rotationPointZ * f5);
    GL11.glScaled(0.4D, 0.6D, 0.8D);
    GL11.glTranslatef(-this.shape9_25.offsetX, -this.shape9_25.offsetY, -this.shape9_25.offsetZ);
    GL11.glTranslatef(-this.shape9_25.rotationPointX * f5, -this.shape9_25.rotationPointY * f5,
            -this.shape9_25.rotationPointZ * f5);
    this.shape9_25.render(f5);
    GL11.glPopMatrix();
    GL11.glPushMatrix();
    GL11.glTranslatef(this.shape9_6.offsetX, this.shape9_6.offsetY, this.shape9_6.offsetZ);
    GL11.glTranslatef(this.shape9_6.rotationPointX * f5, this.shape9_6.rotationPointY * f5,
            this.shape9_6.rotationPointZ * f5);
    GL11.glScaled(0.2D, 0.2D, 0.3D);
    GL11.glTranslatef(-this.shape9_6.offsetX, -this.shape9_6.offsetY, -this.shape9_6.offsetZ);
    GL11.glTranslatef(-this.shape9_6.rotationPointX * f5, -this.shape9_6.rotationPointY * f5,
            -this.shape9_6.rotationPointZ * f5);
    this.shape9_6.render(f5);
    GL11.glPopMatrix();
    GL11.glPopMatrix();
}