/**
* 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 var2 = Tessellator.instance;
for (int var3 = 0; var3 < this.cubeList.size(); ++var3) {
((ModelBox) this.cubeList.get(var3)).render(var2, par1);
}
for(int i = 0; i < this.objs.size(); i++){
this.objs.get(i).render(par1);
}
GL11.glEndList();
this.compiled = true;
}
MaemeModelRenderer.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:secri
作者:
评论列表
文章目录