Searched refs:regionIndices (Results 1 – 1 of 1) sorted by relevance
39 uint16_t regionIndices[kMaxNumberOfQuads * 6]; in MeshState() local43 regionIndices[index ] = quad; // top-left in MeshState()44 regionIndices[index + 1] = quad + 1; // top-right in MeshState()45 regionIndices[index + 2] = quad + 2; // bottom-left in MeshState()46 regionIndices[index + 3] = quad + 2; // bottom-left in MeshState()47 regionIndices[index + 4] = quad + 1; // top-right in MeshState()48 regionIndices[index + 5] = quad + 3; // bottom-right in MeshState()52 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(regionIndices), regionIndices, GL_STATIC_DRAW); in MeshState()