Created
June 15, 2013 12:45
-
-
Save lilliemarck/5788010 to your computer and use it in GitHub Desktop.
Android Interlaved Vertices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mFloatBuffer.position(0); | |
GLES11.glEnableClientState(GLES11.GL_VERTEX_ARRAY); | |
GLES11.glVertexPointer(2, GLES11.GL_FLOAT, 16, mFloatBuffer); | |
mFloatBuffer.position(2); | |
GLES11.glEnableClientState(GLES11.GL_TEXTURE_COORD_ARRAY); | |
GLES11.glTexCoordPointer(2, GLES11.GL_FLOAT, 16, mFloatBuffer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment