gl.glMatrixMode(GL.GL_PROJECTION); //Select the Projectionmatrix
gl.glLoadIdentity(); //Reset the current matrix
glu.gluPerspective(45.0f, width / height, 0.1f, 1000.0f); //set the Viewing Volume
gl.glMatrixMode(GL.GL_MODELVIEW); //select The Modelview Matrix
gl.glLoadIdentity(); //set the ModelView matrix to identity
}
public void init(GLAutoDrawable glDrawable) {
renderer = new TextRenderer(
new Font("SansSerif", Font.BOLD, 10)