Examples of glLoadMatrixf()


Examples of javax.media.opengl.GL2ES1.glLoadMatrixf()

    }

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

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

Examples of javax.microedition.khronos.opengles.GL11.glLoadMatrixf()

        GLUtils.gluPerspective(gl, 45.0f, _aspect, 0.15f, 1000.0f);

        // Set up the local modelview transform and render it
        gl.glMatrixMode(GL10.GL_MODELVIEW);

        gl.glLoadMatrixf(_transform.getArray(), 0);
        _cube.enableVertexAttrib();
        _cube.enableNormalAttrib();
        _cube.enableTexcoordAttrib();
        _cube.render(gl);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.