Home
last modified time | relevance | path

Searched refs:vertexCount (Results 1 – 1 of 1) sorted by relevance

/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java343 private final int vertexCount = squareCoords.length / COORDS_PER_VERTEX; field in ColorsGLRenderer.Square
346 private float cornerFrequencies[] = new float[vertexCount];
356 for (int i=0; i<vertexCount; i++) { in Square()
359 cornerRotation = (int)(Math.random() * vertexCount); in Square()
369 bb = ByteBuffer.allocateDirect(vertexCount * colorStride); in Square()
412 for(int i=0; i<vertexCount; i++) { in draw()
414 _tmphsv[0] = HUES[(i + cornerRotation) % vertexCount]; in draw()
430 glDrawArrays(GL_TRIANGLE_FAN, 0, vertexCount); in draw()