• Home
  • Raw
  • Download

Lines Matching refs:pwIdx

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