• Home
  • Raw
  • Download

Lines Matching refs:pT

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()
242 psMesh->pT[psMesh->nT].wE0 = wE0; in FindOrCreateTriangle()
243 psMesh->pT[psMesh->nT].wE1 = wE1; in FindOrCreateTriangle()
244 psMesh->pT[psMesh->nT].wE2 = wE2; in FindOrCreateTriangle()
254 psMesh->pT[psMesh->nT].w[0] = psE0->wV1; in FindOrCreateTriangle()
256 psMesh->pT[psMesh->nT].w[0] = psE0->wV0; in FindOrCreateTriangle()
259 psMesh->pT[psMesh->nT].w[1] = psE1->wV1; in FindOrCreateTriangle()
261 psMesh->pT[psMesh->nT].w[1] = psE1->wV0; in FindOrCreateTriangle()
264 psMesh->pT[psMesh->nT].w[2] = psE2->wV1; in FindOrCreateTriangle()
266 psMesh->pT[psMesh->nT].w[2] = psE2->wV0; in FindOrCreateTriangle()
269 CrossProduct(&psMesh->pT[psMesh->nT].vNormal, pv0, pv1, pv2); in FindOrCreateTriangle()
272 psMesh->pT[psMesh->nT].nWinding = 0; 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()
308 psMesh->pT = (PVRTShadowVolMTriangle*)malloc(nNumFaces * sizeof(*psMesh->pT)); in PVRTShadowVolMeshCreateMesh()
311 _ASSERT(psMesh->pT); in PVRTShadowVolMeshCreateMesh()
333 psMesh->pT = (PVRTShadowVolMTriangle*)realloc(psMesh->pT, psMesh->nT * sizeof(*psMesh->pT)); in PVRTShadowVolMeshCreateMesh()
336 _ASSERT(psMesh->pT); in PVRTShadowVolMeshCreateMesh()
350 if(psMesh->pT[nTri].wE0 == nEdge) in PVRTShadowVolMeshCreateMesh()
353 if(psMesh->pT[nTri].wE1 == nEdge) in PVRTShadowVolMeshCreateMesh()
356 if(psMesh->pT[nTri].wE2 == nEdge) in PVRTShadowVolMeshCreateMesh()
558 FREE(psMesh->pT); in PVRTShadowVolMeshDestroyMesh()
692 psTri = &psMesh->pT[nCurr]; in PVRTShadowVolSilhouetteProjectedBuild()