Lines Matching defs:vindex
1729 uint vindex = T(group->triangles[i]).vindices[j];
1737 assert(vindex * 3 + 2 < (numv + 1) * 3);
1738 newNormals[vindex * 3 + 0] = nrm[0];
1739 newNormals[vindex * 3 + 1] = nrm[1];
1740 newNormals[vindex * 3 + 2] = nrm[2];
1743 newTexcoords[vindex * 2 + 0] = tex[0];
1744 newTexcoords[vindex * 2 + 1] = tex[1];
1747 T(group->triangles[i]).nindices[j] = vindex;
1748 T(group->triangles[i]).tindices[j] = vindex;
1750 group->triIndexes[i * 3 + j] = vindex;
1752 if (vindex > group->maxIndex)
1753 group->maxIndex = vindex;
1754 if (vindex < group->minIndex)
1755 group->minIndex = vindex;