Home | History | Annotate | Download | only in Tools

Lines Matching defs:pwIdx

68 	const PVRTGEOMETRY_IDX	*pwIdx;			// Vertex indices forming this triangle
121 const PVRTGEOMETRY_IDX * const pwIdx,
267 @Input pwIdx Array of indices
275 const PVRTGEOMETRY_IDX * const pwIdx,
310 pVtx0 = &m_pVtx[pwIdx[3*i+0]];
311 pVtx1 = &m_pVtx[pwIdx[3*i+1]];
312 pVtx2 = &m_pVtx[pwIdx[3*i+2]];
331 pVtx0 = &m_pVtx[pwIdx[3*i+0]];
332 pVtx1 = &m_pVtx[pwIdx[3*i+1]];
333 pVtx2 = &m_pVtx[pwIdx[3*i+2]];
340 m_pTri[i].pwIdx = &pwIdx[3*i];
488 pVtx = &m_pVtx[pTri->pwIdx[k]];
711 _ASSERT(pOb->m_pVtx[pTri->pwIdx[j]].nTriNumFree > 0);
714 --pOb->m_pVtx[pTri->pwIdx[j]].nTriNumFree;
717 _ASSERT(pOb->m_pVtx[pTri->pwIdx[j]].nTriNumFree >= 0);
724 memcpy(&pwOut[3*i], pTri->pwIdx, 3 * sizeof(*pTri->pwIdx));
905 AddVertexCheckDup(&pOb->m_pVtx[pTri->pwIdx[i]]);
1082 pVtx = &pOb->m_pVtx[pTriAppraise->pwIdx[i]];
1092 pVtx = &pOb->m_pVtx[pTriAppraise->pwIdx[i]];
1110 pTri->pwIdx[0] == pTriAppraise->pwIdx[0] ||
1111 pTri->pwIdx[0] == pTriAppraise->pwIdx[1] ||
1112 pTri->pwIdx[0] == pTriAppraise->pwIdx[2] ||
1113 m_sOpt.UsingVertex(&pOb->m_pVtx[pTri->pwIdx[0]])
1115 pTri->pwIdx[1] == pTriAppraise->pwIdx[0] ||
1116 pTri->pwIdx[1] == pTriAppraise->pwIdx[1] ||
1117 pTri->pwIdx[1] == pTriAppraise->pwIdx[2] ||
1118 m_sOpt.UsingVertex(&pOb->m_pVtx[pTri->pwIdx[1]])
1120 pTri->pwIdx[2] == pTriAppraise->pwIdx[0] ||
1121 pTri->pwIdx[2] == pTriAppraise->pwIdx[1] ||
1122 pTri->pwIdx[2] == pTriAppraise->pwIdx[2] ||
1123 m_sOpt.UsingVertex(&pOb->m_pVtx[pTri->pwIdx[2]])
1326 @Input pwIdx Index array
1334 PVRTGEOMETRY_IDX * const pwIdx,
1358 if(pnVtxDest[pwIdx[i]] == -1) {
1360 memcpy((char*)pVtxNew+(wNext*nStride), (char*)pVtxData+(pwIdx[i]*nStride), nStride);
1361 pnVtxDest[pwIdx[i]] = wNext++;
1364 pwIdx[i] = pnVtxDest[pwIdx[i]];
1387 @Modified pwIdx Pointer to array of indices
1390 @Input nTriNum Number of triangles. Length of pwIdx array is 3* this
1398 PVRTGEOMETRY_IDX * const pwIdx,
1406 CObject sOb(pwIdx, nVertNum, nTriNum, nBufferVtxLimit, nBufferTriLimit);
1421 VGP590Test(&sVGPMdlBefore, pwIdx, nTriNum);
1470 memcpy(pwIdx, pwIdxOut, nTriNum * 3 * sizeof(*pwIdx));
1477 VGP590Test(&sVGPMdlAfter, pwIdx, nTriNum);
1493 SortVertices(pVtxData, pwIdx, nStride, nVertNum, nTriNum*3);