Home
last modified time | relevance | path

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

/cts/tests/tests/openglperf/src/android/openglperf/cts/
DSphere.java85 int vertexBase = j * 5; in Sphere() local
91 vLineBuffer[vertexBase + 0] = x + r * sini * sinj; in Sphere()
92 vLineBuffer[vertexBase + 1] = y + r * sini * cosj; in Sphere()
93 vLineBuffer[vertexBase + 2] = z + r * cosi; in Sphere()
95 vLineBuffer[vertexBase + 3] = (float) j / (float) nSlices; in Sphere()
96 vLineBuffer[vertexBase + 4] = (1.0f - i) / (float)nSlices; in Sphere()