Lines Matching refs:pv1
133 …ShadowVolShadowMesh * const psMesh, const PVRTVECTOR3 * const pv0, const PVRTVECTOR3 * const pv1) { in FindOrCreateEdge() argument
138 wV1 = FindOrCreateVertex(psMesh, pv1); in FindOrCreateEdge()
178 const PVRTVECTOR3 * const pv1, in CrossProduct() argument
183 v0.x = pv1->x - pv0->x; in CrossProduct()
184 v0.y = pv1->y - pv0->y; in CrossProduct()
185 v0.z = pv1->z - pv0->z; in CrossProduct()
208 const PVRTVECTOR3 * const pv1, in FindOrCreateTriangle() argument
215 wE0 = FindOrCreateEdge(psMesh, pv0, pv1); in FindOrCreateTriangle()
216 wE1 = FindOrCreateEdge(psMesh, pv1, pv2); in FindOrCreateTriangle()
269 CrossProduct(&psMesh->pT[psMesh->nT].vNormal, pv0, pv1, pv2); in FindOrCreateTriangle()
274 if(memcmp(&psMesh->pV[psE1->wV0], pv1, sizeof(*pv1)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x02; in FindOrCreateTriangle()
1035 const PVRTVECTOR4 *pv0, *pv1; in IsFrontClipInVolume() local
1057 pv1 = &pBoundingHyperCube[c_pwLinesHyperCube[2 * i + 1]]; in IsFrontClipInVolume()
1060 if(pv0->z * pv1->z > 0) in IsFrontClipInVolume()
1065 fScale = (0 - pv0->z) / (pv1->z - pv0->z); in IsFrontClipInVolume()
1067 x = fScale * pv1->x + (1.0f - fScale) * pv0->x; in IsFrontClipInVolume()
1068 y = fScale * pv1->y + (1.0f - fScale) * pv0->y; in IsFrontClipInVolume()
1069 w = fScale * pv1->w + (1.0f - fScale) * pv0->w; in IsFrontClipInVolume()