Home
last modified time | relevance | path

Searched refs:psMesh (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.cpp99 static unsigned short FindOrCreateVertex(PVRTShadowVolShadowMesh * const psMesh, const PVRTVECTOR3 … in FindOrCreateVertex() argument
105 for(wCurr = 0; wCurr < psMesh->nV; wCurr++) { in FindOrCreateVertex()
106 if(memcmp(&psMesh->pV[wCurr], pV, sizeof(*pV)) == 0) { in FindOrCreateVertex()
115 psMesh->pV[psMesh->nV] = *pV; in FindOrCreateVertex()
117 return (unsigned short) psMesh->nV++; in FindOrCreateVertex()
133 static unsigned int FindOrCreateEdge(PVRTShadowVolShadowMesh * const psMesh, const PVRTVECTOR3 * co… in FindOrCreateEdge() argument
137 wV0 = FindOrCreateVertex(psMesh, pv0); in FindOrCreateEdge()
138 wV1 = FindOrCreateVertex(psMesh, pv1); in FindOrCreateEdge()
144 for(nCurr = 0; nCurr < psMesh->nE; nCurr++) { in FindOrCreateEdge()
146 (psMesh->pE[nCurr].wV0 == wV0 && psMesh->pE[nCurr].wV1 == wV1) || in FindOrCreateEdge()
[all …]
DPVRTShadowVol.h100 PVRTShadowVolShadowMesh * const psMesh,
114 PVRTShadowVolShadowMesh * const psMesh,
127 const PVRTShadowVolShadowMesh * const psMesh,
136 PVRTShadowVolShadowMesh * const psMesh);
144 PVRTShadowVolShadowMesh * const psMesh,
169 const PVRTShadowVolShadowMesh * const psMesh,
187 const PVRTShadowVolShadowMesh * const psMesh,
240 const PVRTShadowVolShadowMesh * const psMesh,