Package javax.media.opengl

Examples of javax.media.opengl.GL2ES1


        gl.glMatrixMode(matrixMode);
    }

    @Override
    public void pushMatrix() {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glPushMatrix();
    }
View Full Code Here


        gl.glPushMatrix();
    }

    @Override
    public void popMatrix() {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glPopMatrix();
    }
View Full Code Here

        gl.glPopMatrix();
    }

    @Override
    public void multMatrix(final FloatBuffer fb) {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glMultMatrixf(fb);
    }
View Full Code Here

        gl.glMultMatrixf(fb);
    }

    @Override
    public void loadMatrix(final FloatBuffer fb) {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glLoadMatrixf(fb);
    }
View Full Code Here

        gl.glLoadMatrixf(fb);
    }

    @Override
    public FloatBuffer getMatrix(final int matrixType, final FloatBuffer store) {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glGetFloatv(matrixType, store);
        return store;
    }
View Full Code Here

        return store;
    }

    @Override
    public void loadIdentity() {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glLoadIdentity();
    }
View Full Code Here

    }

    @Override
    public void setOrtho(final double left, final double right, final double bottom, final double top,
            final double near, final double far) {
        final GL2ES1 gl = GLContext.getCurrentGL().getGL2ES1();
        gl.glOrtho(left, right, bottom, top, near, far);
    }
View Full Code Here

TOP

Related Classes of javax.media.opengl.GL2ES1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.