@Override public void render(GL2 gl, GLU glu, GLUT glut) { // camera.prepare(gl, glu, glut); // preRendering(gl, glu, glut); gl.glLoadIdentity(); camera.prepare(gl, glu, glut); setupWorld(gl, glu, glut); for (Renderable r : this) { gl.glPushMatrix(); r.render(gl, glu, glut); gl.glPopMatrix(); } }
public void init() { camera.init(); }