Searched refs:numIndexBuffers (Results 1 – 1 of 1) sorted by relevance
52 public Sphere(int nSlices, float x, float y, float z, float r, int numIndexBuffers) { in Sphere() argument67 mIndices = new ShortBuffer[numIndexBuffers]; in Sphere()68 mNumIndices = new int[numIndexBuffers]; in Sphere()70 int noIndicesPerBuffer = (mTotalIndices / numIndexBuffers / 6) * 6; in Sphere()71 for (int i = 0; i < numIndexBuffers - 1; i++) { in Sphere()74 mNumIndices[numIndexBuffers - 1] = mTotalIndices - noIndicesPerBuffer * in Sphere()75 (numIndexBuffers - 1); in Sphere()77 for (int i = 0; i < numIndexBuffers; i++) { in Sphere()126 for (int i = 0; i < numIndexBuffers; i++) { in Sphere()