Code example for GL11

Methods: glViewport

0
 
    @Override 
    public void glViewport(final int x, final int y, final int width,
            final int height)
    { 
        this.gl.glViewport(x, y, width, height);
    } 
 
 
    /** 
     * @see GL#gluPerspective(float, float, float, float) 
     */ 
 
    @Override 
    public void gluPerspective(final float fovy, final float aspect,
            final float zNear, final float zFar)
    { 
        GLU.gluPerspective(this.gl, fovy, aspect, zNear, zFar);
    }