Home
last modified time | relevance | path

Searched refs:nCurr (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.cpp134 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()
[all …]
DPVRTVertex.cpp623 unsigned int nVert, nCurr, i, j; // Loop counters in PVRTVertexGenerateTangentSpace() local
653 for(nCurr = 0; nCurr < nTriNum; ++nCurr) { in PVRTVertexGenerateTangentSpace()
654 nIdx0 = pui32Idx[3*nCurr+0]; in PVRTVertexGenerateTangentSpace()
655 nIdx1 = pui32Idx[3*nCurr+1]; in PVRTVertexGenerateTangentSpace()
656 nIdx2 = pui32Idx[3*nCurr+2]; in PVRTVertexGenerateTangentSpace()
709 psVtxData[nIdx0].pnTri[psVtxData[nIdx0].n] = nCurr; in PVRTVertexGenerateTangentSpace()
710 psVtxData[nIdx1].pnTri[psVtxData[nIdx1].n] = nCurr; in PVRTVertexGenerateTangentSpace()
711 psVtxData[nIdx2].pnTri[psVtxData[nIdx2].n] = nCurr; in PVRTVertexGenerateTangentSpace()
726 for(nCurr = 0; nCurr < (unsigned int) psVtx->n; ++nCurr) { in PVRTVertexGenerateTangentSpace()
733 if(PVRTMatrixVec3DotProductF(psVtx->pvTan[nCurr], psCmp->pvTan[j]) < fSplitDifference) in PVRTVertexGenerateTangentSpace()
[all …]