javax.microedition.khronos.opengles.GL10Ext Java Examples
The following examples show how to use
javax.microedition.khronos.opengles.GL10Ext.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MatrixTrackingGL.java From PanoramaGL with Apache License 2.0 | 6 votes |
public MatrixTrackingGL(GL gl, GLSurfaceView glSurfaceView) { mgl = (GL10) gl; if (gl instanceof GL10Ext) { mgl10Ext = (GL10Ext) gl; } if (gl instanceof GL11) { mgl11 = (GL11) gl; } if (gl instanceof GL11Ext) { mgl11Ext = (GL11Ext) gl; } mGLSurfaceView = glSurfaceView; mModelView = new MatrixStack(); mProjection = new MatrixStack(); mTexture = new MatrixStack(); mCurrent = mModelView; mMatrixMode = GL10.GL_MODELVIEW; }
Example #2
Source File: GLWrapper.java From PanoramaGL with Apache License 2.0 | 6 votes |
/**init methods*/ public GLWrapper(GL gl, GLSurfaceView glSurfaceView) { mGL = (GL10)gl; if(gl instanceof GL10Ext) { mGL10Ext = (GL10Ext)gl; } if(gl instanceof GL11) { mGL11 = (GL11)gl; } if(gl instanceof GL11Ext) { mGL11Ext = (GL11Ext)gl; } if(gl instanceof GL11ExtensionPack) { mGL11ExtPack = (GL11ExtensionPack)gl; } mGLSurfaceView = glSurfaceView; }
Example #3
Source File: MatrixTrackingGL.java From panoramagl with Apache License 2.0 | 6 votes |
public MatrixTrackingGL(GL gl, GLSurfaceView glSurfaceView) { mgl = (GL10) gl; if (gl instanceof GL10Ext) { mgl10Ext = (GL10Ext) gl; } if (gl instanceof GL11) { mgl11 = (GL11) gl; } if (gl instanceof GL11Ext) { mgl11Ext = (GL11Ext) gl; } mGLSurfaceView = glSurfaceView; mModelView = new MatrixStack(); mProjection = new MatrixStack(); mTexture = new MatrixStack(); mCurrent = mModelView; mMatrixMode = GL10.GL_MODELVIEW; }
Example #4
Source File: GLWrapper.java From panoramagl with Apache License 2.0 | 6 votes |
/** * init methods */ public GLWrapper(GL gl, GLSurfaceView glSurfaceView) { mGL = (GL10) gl; if (gl instanceof GL10Ext) { mGL10Ext = (GL10Ext) gl; } if (gl instanceof GL11) { mGL11 = (GL11) gl; } if (gl instanceof GL11Ext) { mGL11Ext = (GL11Ext) gl; } if (gl instanceof GL11ExtensionPack) { mGL11ExtPack = (GL11ExtensionPack) gl; } mGLSurfaceView = glSurfaceView; }
Example #5
Source File: MatrixTrackingGL.java From codeexamples-android with Eclipse Public License 1.0 | 6 votes |
public MatrixTrackingGL(GL gl) { mgl = (GL10) gl; if (gl instanceof GL10Ext) { mgl10Ext = (GL10Ext) gl; } if (gl instanceof GL11) { mgl11 = (GL11) gl; } if (gl instanceof GL11Ext) { mgl11Ext = (GL11Ext) gl; } mModelView = new MatrixStack(); mProjection = new MatrixStack(); mTexture = new MatrixStack(); mCurrent = mModelView; mMatrixMode = GL10.GL_MODELVIEW; }