Methods Summary |
---|
public void | getCurrentModelView(javax.microedition.khronos.opengles.GL10 gl)Record the current modelView matrix state. Has the side effect of
setting the current matrix state to GL_MODELVIEW
getMatrix(gl, GL10.GL_MODELVIEW, mModelView);
|
public void | getCurrentProjection(javax.microedition.khronos.opengles.GL10 gl)Record the current projection matrix state. Has the side effect of
setting the current matrix state to GL_PROJECTION
getMatrix(gl, GL10.GL_PROJECTION, mProjection);
|
public void | getCurrentState(javax.microedition.khronos.opengles.GL10 gl)Record the current modelView and projection matrix state.
Has the side effect of setting the current matrix state to GL_MODELVIEW
getCurrentProjection(gl);
getCurrentModelView(gl);
|
private void | getMatrix(javax.microedition.khronos.opengles.GL10 gl, int mode, float[] mat)
MatrixTrackingGL gl2 = (MatrixTrackingGL) gl;
gl2.glMatrixMode(mode);
gl2.getMatrix(mat, 0);
|