Examples of cullBackFaces()


Examples of mods.railcraft.client.render.models.ModelTextured.cullBackFaces()

        if (texture == null)
            return;
        renderer.bindTex(texture);

        GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
        if (!contents.cullBackFaces())
            GL11.glDisable(GL11.GL_CULL_FACE);
        GL11.glPushMatrix();
        GL11.glTranslatef(-0.5F, blockOffset / 16.0F - 0.5F, -0.5F);
        contents.render(cart, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
        GL11.glEnable(GL11.GL_CULL_FACE);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.