MCAModelRenderer.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:PopularMMOS-EpicProportions-Mod 作者:
/**
 * Compiles a GL display list for this model.
 * EDITED VERSION BECAUSE OF THE PRIVATE FIELDS
 */
public void DDScompileDisplayList(float par1)
{
    this.DDSdisplayList = GLAllocation.generateDisplayLists(1);
    GL11.glNewList(this.DDSdisplayList, GL11.GL_COMPILE);
    Tessellator tessellator = Tessellator.instance;

    for (int i = 0; i < this.cubeList.size(); ++i)
    {
        ((ModelBox)this.cubeList.get(i)).render(tessellator, par1);
    }

    GL11.glEndList();
    this.DDScompiled = true;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号