Searched refs:vertNdx (Results 1 – 3 of 3) sorted by relevance
79 for (size_t vertNdx = 0; vertNdx < numVerts; vertNdx++) in logCubeArrayTexCoords() local81 const size_t coordNdx = vertNdx * 4; in logCubeArrayTexCoords()89 << vertNdx << ": (" in logCubeArrayTexCoords()
1058 for (int vertNdx = 0; vertNdx < 3; ++vertNdx) in initPrograms() local1060 if (vertNdx > 0) in initPrograms()1062 src << " gl_Position = gl_in[" << vertNdx << "].gl_Position;\n" in initPrograms()1063 << " out_color = in_color[" << vertNdx << "];\n"; in initPrograms()1068 << " gl_ClipDistance[i] = gl_in[" << vertNdx << "].gl_ClipDistance[i];\n"; in initPrograms()1071 << " gl_CullDistance[i] = gl_in[" << vertNdx << "].gl_CullDistance[i];\n"; in initPrograms()1076 …src << " gl_ClipDistance[" << i << "] = gl_in[" << vertNdx << "].gl_ClipDistance[" << i << "];\… in initPrograms()1078 …src << " gl_CullDistance[" << i << "] = gl_in[" << vertNdx << "].gl_CullDistance[" << i << "];\… in initPrograms()
373 for (int vertNdx = 0; vertNdx < vertexCount; vertNdx++) in render() local375 const int ndx = primNdx*4*vertexCount + vertNdx*4; in render()376 …positions[ndx+0] = (basePositions[vertNdx*2 + 0]*scale + dx)*primitiveArea.z() + primitiveArea.x(); in render()377 …positions[ndx+1] = (basePositions[vertNdx*2 + 1]*scale + dy)*primitiveArea.w() + primitiveArea.y(); in render()