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.java344 private final int vertexCount = squareCoords.length / COORDS_PER_VERTEX; field in ColorsGLRenderer.Square
347 private float cornerFrequencies[] = new float[vertexCount];
357 for (int i=0; i<vertexCount; i++) { in Square()
360 cornerRotation = (int)(Math.random() * vertexCount); in Square()
370 bb = ByteBuffer.allocateDirect(vertexCount * colorStride); in Square()
413 for(int i=0; i<vertexCount; i++) { in draw()
415 _tmphsv[0] = HUES[(i + cornerRotation) % vertexCount]; in draw()
431 glDrawArrays(GL_TRIANGLE_FAN, 0, vertexCount); in draw()