Home | History | Annotate | Download | only in Tools

Lines Matching refs:pV

91 @Input			pV					The vertex to compare/add
99 static unsigned short FindOrCreateVertex(PVRTShadowVolShadowMesh * const psMesh, const PVRTVECTOR3 * const pV) {
106 if(memcmp(&psMesh->pV[wCurr], pV, sizeof(*pV)) == 0) {
115 psMesh->pV[psMesh->nV] = *pV;
273 if(memcmp(&psMesh->pV[psE0->wV0], pv0, sizeof(*pv0)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x01;
274 if(memcmp(&psMesh->pV[psE1->wV0], pv1, sizeof(*pv1)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x02;
275 if(memcmp(&psMesh->pV[psE2->wV0], pv2, sizeof(*pv2)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x04;
306 psMesh->pV = (PVRTVECTOR3*)malloc(nNumVertex * sizeof(*psMesh->pV));
309 _ASSERT(psMesh->pV);
331 psMesh->pV = (PVRTVECTOR3*)realloc(psMesh->pV, psMesh->nV * sizeof(*psMesh->pV));
334 _ASSERT(psMesh->pV);
460 pvData[nCurr].x = psMesh->pV[nCurr].x;
461 pvData[nCurr].y = psMesh->pV[nCurr].y;
462 pvData[nCurr].z = psMesh->pV[nCurr].z;
556 FREE(psMesh->pV);
698 v.x = psMesh->pV[pE0->wV0].x - pvLightModel->x;
699 v.y = psMesh->pV[pE0->wV0].y - pvLightModel->y;
700 v.z = psMesh->pV[pE0->wV0].z - pvLightModel->z;