/**
* Compiles a GL display list for this model
*/
@SideOnly(Side.CLIENT)
private void compileDisplayList(float par1)
{
this.displayList = GLAllocation.generateDisplayLists(1);
GL11.glNewList(this.displayList, 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.compiled = true;
}
ModelRenderer.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:RuneCraftery
作者:
评论列表
文章目录