• Home
  • Raw
  • Download

Lines Matching refs:sFaces

1058 …if(!WriteCPODData(pFile, ePODFileMeshFaces,			s.pMesh[i].sFaces,		PVRTModelPODCountIndices(s.pMesh…  in WritePOD()
1485 …case ePODFileMeshFaces: if(!ReadCPODData(s.sFaces, src, ePODFileMeshFaces, true)) return false; … in ReadMesh()
2182 FREE(pMesh[i].sFaces.pData);
3369 if(!mesh.sFaces.pData)
3376 unsigned char *pData = mesh.sFaces.pData + i * mesh.sFaces.nStride;
3379 PVRTVertexRead(&ui32V[0], pData, mesh.sFaces.eType);
3380 PVRTVertexRead(&ui32V[1], pData + mesh.sFaces.nStride, mesh.sFaces.eType);
3381 PVRTVertexRead(&ui32V[2], pData + 2 * mesh.sFaces.nStride, mesh.sFaces.eType);
3384 PVRTVertexWrite(pData, mesh.sFaces.eType, ui32V[i32El1]);
3385 PVRTVertexWrite(pData + mesh.sFaces.nStride, mesh.sFaces.eType, ui32V[i32El2]);
3386 PVRTVertexWrite(pData + 2 * mesh.sFaces.nStride, mesh.sFaces.eType, ui32V[i32El3]);
3581 if(mesh.sFaces.eType == EPODDataUnsignedShort)
3584 …memcpy(pNew + i * mesh.sVertex.nStride, (char*)mesh.pInterleaved + ((unsigned short*)mesh.sFaces.p…
3588 _ASSERT(mesh.sFaces.eType == EPODDataUnsignedInt);
3591 …memcpy(pNew + i * mesh.sVertex.nStride, (char*)mesh.pInterleaved + ((unsigned int*)mesh.sFaces.pDa…
3599 FREE(mesh.sFaces.pData);
3600 mesh.sFaces.n = 0;
3601 mesh.sFaces.nStride = 0;
3617 _ASSERT(mesh.sFaces.n == 1);
3618 nIdxSize = PVRTModelPODDataTypeSize(mesh.sFaces.eType);
3619 nTriStride = PVRTModelPODDataStride(mesh.sFaces) * 3;
3621 old = mesh.sFaces;
3622 mesh.sFaces.pData = 0;
3623 SafeAlloc(mesh.sFaces.pData, nTriStride * mesh.nNumFaces);
3642 (char*)mesh.sFaces.pData + nIdxSize * nListIdxCnt,
3648 (char*)mesh.sFaces.pData + nIdxSize * nListIdxCnt,
3654 (char*)mesh.sFaces.pData + nIdxSize * nListIdxCnt,
3664 (char*)mesh.sFaces.pData + nIdxSize * nListIdxCnt,
3729 … PVRTVertexWrite((char*)mesh.sFaces.pData + nIdxCnt * mesh.sFaces.nStride, mesh.sFaces.eType, n2);
3739 … PVRTVertexWrite((char*)mesh.sFaces.pData + nIdxCnt * mesh.sFaces.nStride, mesh.sFaces.eType, n2);
3750 … PVRTVertexWrite((char*)mesh.sFaces.pData + nIdxCnt * mesh.sFaces.nStride, mesh.sFaces.eType, n0);
3752 … PVRTVertexWrite((char*)mesh.sFaces.pData + nIdxCnt * mesh.sFaces.nStride, mesh.sFaces.eType, n1);
3754 … PVRTVertexWrite((char*)mesh.sFaces.pData + nIdxCnt * mesh.sFaces.nStride, mesh.sFaces.eType, n2);
3764 SafeRealloc(mesh.sFaces.pData, nIdxCnt * nIdxSize);
3889 PVRTModelPODCopyCPODData(in.sFaces , out.sFaces , out.nNumFaces * 3, false);
4243 if(inMesh.sFaces.pData) // Indexed Triangle Lists
4244 PVRTVertexRead(&idx, inMesh.sFaces.pData + (l * inMesh.sFaces.nStride), inMesh.sFaces.eType);
4269 if(inMesh.sFaces.pData) // Indexed Triangle Strips
4270 … PVRTVertexRead(&idx, inMesh.sFaces.pData + (l * inMesh.sFaces.nStride), inMesh.sFaces.eType);