public void setCurrentProjection(GL10 gl) { GL11 gl2 = (GL11) gl; gl2.glGetFloatv(GL11.GL_PROJECTION_MATRIX, mProjection, 0); }
@Override public void glGetFloatv(int pname, FloatBuffer params) { gl.glGetFloatv(pname, params); }
// TODO test for GL11 instance of to handle not GL11 devices // TODO use GL11ES calls independent of redraw with gl param public void setCurrentModelView(GL10 gl) { GL11 gl2 = (GL11) gl; gl2.glGetFloatv(GL11.GL_MODELVIEW_MATRIX, mModelView, 0); }
@Override public void glGetFloatv(int pname, float[] params, int offset) { gl.glGetFloatv(pname, params, offset); }