Lines Matching refs:nNumFaces
1046 if(!WriteData32(pFile, ePODFileMeshNumFaces, &s.pMesh[i].nNumFaces)) return false; in WritePOD()
1473 case ePODFileMeshNumFaces: if(!src.Read32(s.nNumFaces)) return false; break; in ReadMesh()
3374 for(unsigned int i = 0; i < mesh.nNumFaces * 3; i += 3)
3574 _ASSERT(mesh.nNumVertex && mesh.nNumFaces);
3614 if(!mesh.nNumFaces)
3623 SafeAlloc(mesh.sFaces.pData, nTriStride * mesh.nNumFaces);
3674 _ASSERT(nListIdxCnt == mesh.nNumFaces*3);
3687 mesh.pnStripLength = (unsigned int*)calloc(mesh.nNumFaces, sizeof(*mesh.pnStripLength));
3700 nFaces = mesh.nNumFaces;
3708 nFaces = mesh.nNumFaces - mesh.sBoneBatches.pnBatchOffset[h];
3779 return mesh.nNumStrips ? mesh.nNumFaces + (mesh.nNumStrips * 2) : mesh.nNumFaces * 3;
3886 out.nNumFaces = in.nNumFaces;
3889 PVRTModelPODCopyCPODData(in.sFaces , out.sFaces , out.nNumFaces * 3, false);
3914 if(in.pnStripLength && SafeAlloc(out.pnStripLength, out.nNumFaces))
3916 memcpy(out.pnStripLength, in.pnStripLength, sizeof(*out.pnStripLength) * out.nNumFaces);
4232 ui32Tris = inMesh.nNumFaces - inMesh.sBoneBatches.pnBatchOffset[j];