Lines Matching refs:nIdxCnt
686 psVol->nIdxCnt = 0; 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()
718 psVol->nIdxCnt += 3; 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()
733 psVol->nIdxCnt += 3; in PVRTShadowVolSilhouetteProjectedBuild()
739 _ASSERT(psVol->nIdxCnt <= psVol->nIdxCntMax); in PVRTShadowVolSilhouetteProjectedBuild()
740 for(nCurr = 0; nCurr < psVol->nIdxCnt; ++nCurr) { in PVRTShadowVolSilhouetteProjectedBuild()
759 pwIdx[psVol->nIdxCnt+0] = psEdge->wV0; in PVRTShadowVolSilhouetteProjectedBuild()
760 pwIdx[psVol->nIdxCnt+1] = psEdge->wV1; in PVRTShadowVolSilhouetteProjectedBuild()
761 pwIdx[psVol->nIdxCnt+2] = psEdge->wV0 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
763 pwIdx[psVol->nIdxCnt+3] = psEdge->wV0 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
764 pwIdx[psVol->nIdxCnt+4] = psEdge->wV1; in PVRTShadowVolSilhouetteProjectedBuild()
765 pwIdx[psVol->nIdxCnt+5] = psEdge->wV1 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
767 pwIdx[psVol->nIdxCnt+0] = psEdge->wV1; in PVRTShadowVolSilhouetteProjectedBuild()
768 pwIdx[psVol->nIdxCnt+1] = psEdge->wV0; in PVRTShadowVolSilhouetteProjectedBuild()
769 pwIdx[psVol->nIdxCnt+2] = psEdge->wV1 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
771 pwIdx[psVol->nIdxCnt+3] = psEdge->wV1 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
772 pwIdx[psVol->nIdxCnt+4] = psEdge->wV0; in PVRTShadowVolSilhouetteProjectedBuild()
773 pwIdx[psVol->nIdxCnt+5] = psEdge->wV0 + (unsigned short) psMesh->nV; in PVRTShadowVolSilhouetteProjectedBuild()
776 psVol->nIdxCnt += 6; in PVRTShadowVolSilhouetteProjectedBuild()
784 _ASSERT(psVol->nIdxCnt <= psVol->nIdxCntMax); in PVRTShadowVolSilhouetteProjectedBuild()
785 for(nCurr = 0; nCurr < psVol->nIdxCnt; ++nCurr) { in PVRTShadowVolSilhouetteProjectedBuild()
1280 _ASSERT(psVol->nIdxCnt <= psVol->nIdxCntMax); in PVRTShadowVolSilhouetteProjectedRender()
1281 _ASSERT(psVol->nIdxCnt % 3 == 0); in PVRTShadowVolSilhouetteProjectedRender()
1282 _ASSERT(psVol->nIdxCnt / 3 <= 0xFFFF); in PVRTShadowVolSilhouetteProjectedRender()
1298 glDrawElements(GL_TRIANGLES, psVol->nIdxCnt, GL_UNSIGNED_SHORT, NULL); in PVRTShadowVolSilhouetteProjectedRender()
1306 return psVol->nIdxCnt / 3; in PVRTShadowVolSilhouetteProjectedRender()
1320 glDrawElements(GL_TRIANGLES, psVol->nIdxCnt, GL_UNSIGNED_SHORT, psVol->piib); in PVRTShadowVolSilhouetteProjectedRender()
1325 return psVol->nIdxCnt / 3; in PVRTShadowVolSilhouetteProjectedRender()
1338 glDrawElements(GL_TRIANGLES, psVol->nIdxCnt, GL_UNSIGNED_SHORT, psVol->piib); in PVRTShadowVolSilhouetteProjectedRender()
1344 return psVol->nIdxCnt / 3; in PVRTShadowVolSilhouetteProjectedRender()