Searched refs:mMVPMatrixHandle (Results 1 – 2 of 2) sorted by relevance
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | Triangle.java | 52 private int mMVPMatrixHandle; field in Triangle 127 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in draw() 131 GLES20.glUniformMatrix4fv(mMVPMatrixHandle, 1, false, mvpMatrix, 0); in draw()
|
D | Square.java | 54 private int mMVPMatrixHandle; field in Square 135 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in draw() 139 GLES20.glUniformMatrix4fv(mMVPMatrixHandle, 1, false, mvpMatrix, 0); in draw()
|