Lines Matching refs:wV0
135 unsigned short wV0, wV1; in FindOrCreateEdge() local
137 wV0 = FindOrCreateVertex(psMesh, pv0); 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()
157 psMesh->pE[psMesh->nE].wV0 = wV0; in FindOrCreateEdge()
253 if(psE0->wV0 == psE1->wV0 || psE0->wV0 == psE1->wV1) in FindOrCreateTriangle()
256 psMesh->pT[psMesh->nT].w[0] = psE0->wV0; in FindOrCreateTriangle()
258 if(psE1->wV0 == psE2->wV0 || psE1->wV0 == psE2->wV1) in FindOrCreateTriangle()
261 psMesh->pT[psMesh->nT].w[1] = psE1->wV0; in FindOrCreateTriangle()
263 if(psE2->wV0 == psE0->wV0 || psE2->wV0 == psE0->wV1) in FindOrCreateTriangle()
266 psMesh->pT[psMesh->nT].w[2] = psE2->wV0; in FindOrCreateTriangle()
273 if(memcmp(&psMesh->pV[psE0->wV0], pv0, sizeof(*pv0)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x01; in FindOrCreateTriangle()
274 if(memcmp(&psMesh->pV[psE1->wV0], pv1, sizeof(*pv1)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x02; in FindOrCreateTriangle()
275 if(memcmp(&psMesh->pV[psE2->wV0], pv2, sizeof(*pv2)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x04; in FindOrCreateTriangle()
698 v.x = psMesh->pV[pE0->wV0].x - pvLightModel->x; in PVRTShadowVolSilhouetteProjectedBuild()
699 v.y = psMesh->pV[pE0->wV0].y - pvLightModel->y; in PVRTShadowVolSilhouetteProjectedBuild()
700 v.z = psMesh->pV[pE0->wV0].z - pvLightModel->z; in PVRTShadowVolSilhouetteProjectedBuild()
759 pwIdx[psVol->nIdxCnt+0] = psEdge->wV0; in PVRTShadowVolSilhouetteProjectedBuild()
761 pwIdx[psVol->nIdxCnt+2] = psEdge->wV0 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
763 pwIdx[psVol->nIdxCnt+3] = psEdge->wV0 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
768 pwIdx[psVol->nIdxCnt+1] = psEdge->wV0; in PVRTShadowVolSilhouetteProjectedBuild()
772 pwIdx[psVol->nIdxCnt+4] = psEdge->wV0; in PVRTShadowVolSilhouetteProjectedBuild()
773 pwIdx[psVol->nIdxCnt+5] = psEdge->wV0 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()