Searched refs:vertices (Results 1 – 4 of 4) sorted by relevance
33 int vertices[] = { in Cube() local72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube()75 mVertexBuffer.put(vertices); in Cube()
163 final float vertices[] = { in Cube() local186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube()189 mVertexBuffer.put(vertices); in Cube()
165 float vertices[] = { in onSurfaceCreated() local188 vbb = ByteBuffer.allocateDirect(vertices.length*4); in onSurfaceCreated()191 mVertexBuffer.put(vertices); in onSurfaceCreated()
116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, in newGLObject() argument123 result->count = vertices; in newGLObject()125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * in newGLObject()127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); in newGLObject()130 result->normalArray = (GLfixed *)malloc(vertices * 3 * in newGLObject()207 const long vertices = triangleCount * 3; in createSuperShape() local213 result = newGLObject(vertices, 3, 1); in createSuperShape()351 const long vertices = triangleCount * 3; in createGroundPlane() local356 result = newGLObject(vertices, 2, 0); in createGroundPlane()