Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void compileDisplayList(float scale) {
- displayList = GLAllocation.generateDisplayLists(1);
- GL11.glNewList(displayList, GL11.GL_COMPILE);
- GL11.glPushMatrix();
- GL11.glScalef(0.76F, 0.76F, 0.76F);
- GL11.glRotatef(180F, 1F, 0F, 0F);
- model.renderAll();
- GL11.glPopMatrix();
- GL11.glEndList();
- compiled = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment