Lines Matching refs:nCurr
134 unsigned int nCurr; in FindOrCreateEdge() local
144 for(nCurr = 0; nCurr < psMesh->nE; nCurr++) { in FindOrCreateEdge()
146 (psMesh->pE[nCurr].wV0 == wV0 && psMesh->pE[nCurr].wV1 == wV1) || in FindOrCreateEdge()
147 (psMesh->pE[nCurr].wV0 == wV1 && psMesh->pE[nCurr].wV1 == wV0)) in FindOrCreateEdge()
150 return nCurr; in FindOrCreateEdge()
211 unsigned int nCurr; in FindOrCreateTriangle() local
228 for(nCurr = 0; nCurr < psMesh->nT; nCurr++) { in FindOrCreateTriangle()
230 (psMesh->pT[nCurr].wE0 == wE0 || psMesh->pT[nCurr].wE0 == wE1 || psMesh->pT[nCurr].wE0 == wE2) && in FindOrCreateTriangle()
231 (psMesh->pT[nCurr].wE1 == wE0 || psMesh->pT[nCurr].wE1 == wE1 || psMesh->pT[nCurr].wE1 == wE2) && in FindOrCreateTriangle()
232 (psMesh->pT[nCurr].wE2 == wE0 || psMesh->pT[nCurr].wE2 == wE1 || psMesh->pT[nCurr].wE2 == wE2)) in FindOrCreateTriangle()
296 unsigned int nCurr; in PVRTShadowVolMeshCreateMesh() local
313 for(nCurr = 0; nCurr < nNumFaces; nCurr++) { in PVRTShadowVolMeshCreateMesh()
315 (PVRTVECTOR3*)&pVertex[3 * pFaces[3 * nCurr + 0]], in PVRTShadowVolMeshCreateMesh()
316 (PVRTVECTOR3*)&pVertex[3 * pFaces[3 * nCurr + 1]], in PVRTShadowVolMeshCreateMesh()
317 (PVRTVECTOR3*)&pVertex[3 * pFaces[3 * nCurr + 2]]); in PVRTShadowVolMeshCreateMesh()
347 nCurr = 0; in PVRTShadowVolMeshCreateMesh()
351 nCurr++; in PVRTShadowVolMeshCreateMesh()
354 nCurr++; in PVRTShadowVolMeshCreateMesh()
357 nCurr++; in PVRTShadowVolMeshCreateMesh()
364 _ASSERTE(nCurr == 2); in PVRTShadowVolMeshCreateMesh()
383 unsigned int nCurr; in PVRTShadowVolMeshInitMesh() local
458 for(nCurr = 0; nCurr < psMesh->nV; ++nCurr) in PVRTShadowVolMeshInitMesh()
460 pvData[nCurr].x = psMesh->pV[nCurr].x; in PVRTShadowVolMeshInitMesh()
461 pvData[nCurr].y = psMesh->pV[nCurr].y; in PVRTShadowVolMeshInitMesh()
462 pvData[nCurr].z = psMesh->pV[nCurr].z; in PVRTShadowVolMeshInitMesh()
463 pvData[nCurr].dwExtrude = 0; in PVRTShadowVolMeshInitMesh()
466 pvData[nCurr].fWeight = 1; in PVRTShadowVolMeshInitMesh()
467 pvData[nCurr + psMesh->nV].fWeight = 1; in PVRTShadowVolMeshInitMesh()
469 pvData[nCurr + psMesh->nV] = pvData[nCurr]; in PVRTShadowVolMeshInitMesh()
470 pvData[nCurr + psMesh->nV].dwExtrude = 0x04030201; // Order is wzyx in PVRTShadowVolMeshInitMesh()
650 unsigned int nCurr; in PVRTShadowVolSilhouetteProjectedBuild() local
689 for(nCurr = 0; nCurr < psMesh->nT; ++nCurr) in PVRTShadowVolSilhouetteProjectedBuild()
692 psTri = &psMesh->pT[nCurr]; in PVRTShadowVolSilhouetteProjectedBuild()
740 for(nCurr = 0; nCurr < psVol->nIdxCnt; ++nCurr) { in PVRTShadowVolSilhouetteProjectedBuild()
741 _ASSERT(pwIdx[nCurr] < psMesh->nV*2); in PVRTShadowVolSilhouetteProjectedBuild()
748 for(nCurr = 0; nCurr < psMesh->nE; nCurr++) { in PVRTShadowVolSilhouetteProjectedBuild()
749 psEdge = &psMesh->pE[nCurr]; in PVRTShadowVolSilhouetteProjectedBuild()
785 for(nCurr = 0; nCurr < psVol->nIdxCnt; ++nCurr) { in PVRTShadowVolSilhouetteProjectedBuild()
786 _ASSERT(pwIdx[nCurr] < psMesh->nV*2); in PVRTShadowVolSilhouetteProjectedBuild()