• Home
  • Raw
  • Download

Lines Matching refs:pVtx

188 	bool UsingVertex(const SVtx * const pVtx) const;
194 void AddVertex(SVtx * const pVtx);
195 void AddVertexCheckDup(SVtx * const pVtx);
240 SVtx * const pVtx,
456 SVtx **ppR, **ppW, *pVtx; in CreateMeshList() local
468 pVtx = &m_pVtx[i]; in CreateMeshList()
470 if(pVtx->ppMeshPos) { in CreateMeshList()
471 _ASSERT(pVtx->ppMeshPos < ppW); in CreateMeshList()
478 *ppW = pVtx; in CreateMeshList()
479 pVtx->ppMeshPos = ppW; in CreateMeshList()
488 pVtx = &m_pVtx[pTri->pwIdx[k]]; in CreateMeshList()
490 if(pVtx->ppMeshPos) { in CreateMeshList()
491 _ASSERT(pVtx->ppMeshPos < ppW); in CreateMeshList()
495 *ppW = pVtx; in CreateMeshList()
496 pVtx->ppMeshPos = ppW; in CreateMeshList()
739 const SVtx * const pVtx) const in UsingVertex()
747 if(psVtx[i] == pVtx) in UsingVertex()
802 void CBlockOption::AddVertex(SVtx * const pVtx) in AddVertex() argument
805 psVtx[nVtxNum++] = pVtx; in AddVertex()
814 void CBlockOption::AddVertexCheckDup(SVtx * const pVtx) in AddVertexCheckDup() argument
819 if(psVtx[i] == pVtx) in AddVertexCheckDup()
822 AddVertex(pVtx); in AddVertexCheckDup()
1001 SVtx *pVtx; in Add() local
1004 pVtx = pMesh->ppVtx[i]; in Add()
1006 AddVertexCheckDup(pVtx); in Add()
1008 for(j = 0; j < pVtx->nTriNumTot; ++j) { in Add()
1009 if(!pVtx->psTri[j]->bUsed) in Add()
1010 AddTriangleCheckDup(pVtx->psTri[j]); in Add()
1074 SVtx *pVtx; in AddBestTrianglesAppraise() local
1082 pVtx = &pOb->m_pVtx[pTriAppraise->pwIdx[i]]; in AddBestTrianglesAppraise()
1083 if(!m_sOpt.UsingVertex(pVtx)) in AddBestTrianglesAppraise()
1084 pJob->AddVertex(pVtx); in AddBestTrianglesAppraise()
1092 pVtx = &pOb->m_pVtx[pTriAppraise->pwIdx[i]]; in AddBestTrianglesAppraise()
1094 _ASSERT(pVtx->nTriNumFree >= 1); in AddBestTrianglesAppraise()
1095 _ASSERT(pVtx->nTriNumFree <= pVtx->nTriNumTot); in AddBestTrianglesAppraise()
1097 for(j = 0; j < pVtx->nTriNumTot; ++j) { in AddBestTrianglesAppraise()
1101 pTri = pVtx->psTri[j]; in AddBestTrianglesAppraise()
1146 const SVtx *pVtx; in AddBestTriangles() local
1156 pVtx = m_sOpt.psVtx[i]; in AddBestTriangles()
1158 if(!pVtx->nTriNumFree) in AddBestTriangles()
1161 for(j = 0; j < pVtx->nTriNumTot; ++j) { in AddBestTriangles()
1162 pTri = pVtx->psTri[j]; in AddBestTriangles()
1194 SVtx * const pVtx, in FillFrom() argument
1198 _ASSERT(pVtx->nTriNumFree); in FillFrom()
1200 m_sOpt.AddVertex(pVtx); in FillFrom()
1225 SVtx *pVtx; in Fill() local
1239 pVtx = pMesh->ppVtx[i]; in Fill()
1241 if(pVtx->nTriNumFree == 1) { in Fill()
1242 if(FillFrom(pMesh, pVtx, pOb)) in Fill()
1250 pVtx = pMesh->ppVtx[i]; in Fill()
1252 if(pVtx->nTriNumFree) { in Fill()
1253 if(FillFrom(pMesh, pVtx, pOb)) in Fill()