Lines Matching refs:psTri
644 PVRTShadowVolMTriangle *psTri; in PVRTShadowVolSilhouetteProjectedBuild() local
692 psTri = &psMesh->pT[nCurr]; in PVRTShadowVolSilhouetteProjectedBuild()
693 pE0 = &psMesh->pE[psTri->wE0]; in PVRTShadowVolSilhouetteProjectedBuild()
694 pE1 = &psMesh->pE[psTri->wE1]; in PVRTShadowVolSilhouetteProjectedBuild()
695 pE2 = &psMesh->pE[psTri->wE2]; in PVRTShadowVolSilhouetteProjectedBuild()
701 f = PVRTMatrixVec3DotProduct(psTri->vNormal, v); in PVRTShadowVolSilhouetteProjectedBuild()
703 f = PVRTMatrixVec3DotProduct(psTri->vNormal, *pvLightModel); in PVRTShadowVolSilhouetteProjectedBuild()
715 pwIdx[psVol->nIdxCnt+0] = psTri->w[0]; in PVRTShadowVolSilhouetteProjectedBuild()
716 pwIdx[psVol->nIdxCnt+1] = psTri->w[1]; in PVRTShadowVolSilhouetteProjectedBuild()
717 pwIdx[psVol->nIdxCnt+2] = psTri->w[2]; in PVRTShadowVolSilhouetteProjectedBuild()
722 pE0->nVis |= 0x02 | (psTri->nWinding & 0x01) << 2; in PVRTShadowVolSilhouetteProjectedBuild()
723 pE1->nVis |= 0x02 | (psTri->nWinding & 0x02) << 1; in PVRTShadowVolSilhouetteProjectedBuild()
724 pE2->nVis |= 0x02 | (psTri->nWinding & 0x04); in PVRTShadowVolSilhouetteProjectedBuild()
730 pwIdx[psVol->nIdxCnt+0] = (unsigned short) psMesh->nV + psTri->w[0]; in PVRTShadowVolSilhouetteProjectedBuild()
731 pwIdx[psVol->nIdxCnt+1] = (unsigned short) psMesh->nV + psTri->w[1]; in PVRTShadowVolSilhouetteProjectedBuild()
732 pwIdx[psVol->nIdxCnt+2] = (unsigned short) psMesh->nV + psTri->w[2]; in PVRTShadowVolSilhouetteProjectedBuild()