• Home
  • Raw
  • Download

Lines Matching refs:pv0

133 …eateEdge(PVRTShadowVolShadowMesh * const psMesh, const PVRTVECTOR3 * const pv0, const PVRTVECTOR3 …  in FindOrCreateEdge()  argument
137 wV0 = FindOrCreateVertex(psMesh, pv0); in FindOrCreateEdge()
177 const PVRTVECTOR3 * const pv0, 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()
187 v1.x = pv2->x - pv0->x; in CrossProduct()
188 v1.y = pv2->y - pv0->y; in CrossProduct()
189 v1.z = pv2->z - pv0->z; in CrossProduct()
207 const PVRTVECTOR3 * const pv0, in FindOrCreateTriangle() argument
215 wE0 = FindOrCreateEdge(psMesh, pv0, pv1); in FindOrCreateTriangle()
217 wE2 = FindOrCreateEdge(psMesh, pv2, pv0); in FindOrCreateTriangle()
269 CrossProduct(&psMesh->pT[psMesh->nT].vNormal, pv0, pv1, pv2); in FindOrCreateTriangle()
273 if(memcmp(&psMesh->pV[psE0->wV0], pv0, sizeof(*pv0)) == 0) psMesh->pT[psMesh->nT].nWinding |= 0x01; in FindOrCreateTriangle()
916 const PVRTVECTOR4 *pv0; in IsHyperBoundingBoxVisibleEx() local
922 pv0 = &pBoundingHyperCube[8]; in IsHyperBoundingBoxVisibleEx()
932 if(pv0[i].x < pv0[i].w) in IsHyperBoundingBoxVisibleEx()
935 if(pv0[i].x > -pv0[i].w) in IsHyperBoundingBoxVisibleEx()
938 if(pv0[i].y < pv0[i].w) in IsHyperBoundingBoxVisibleEx()
941 if(pv0[i].y > -pv0[i].w) in IsHyperBoundingBoxVisibleEx()
944 if(pv0[i].z > 0) in IsHyperBoundingBoxVisibleEx()
1035 const PVRTVECTOR4 *pv0, *pv1; in IsFrontClipInVolume() local
1056 pv0 = &pBoundingHyperCube[c_pwLinesHyperCube[2 * i + 0]]; 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()