Lines Matching refs:nNumVertex
42 new_mesh->nNumVertex = mesh->nNumVertex;
47 if(mesh->nNumVertex)
49 new_mesh->pVertex = new VERTTYPE[mesh->nNumVertex*3];
50 for(unsigned int i = 0; i < mesh->nNumVertex*3; i++) // each vertex is 3 floats
56 new_mesh->nNumVertex = 0;
61 new_mesh->pUV = new VERTTYPE[mesh->nNumVertex*2];
62 for(unsigned int i = 0; i < mesh->nNumVertex*2; i++) // UVs come in pairs of floats
70 new_mesh->pNormals = new VERTTYPE[mesh->nNumVertex*3];
71 for(unsigned int i = 0; i < mesh->nNumVertex*3; i++) // each normal is 3 floats
92 unsigned int nPackedVertSize = mesh->nNumVertex * 3 +
93 (mesh->nFlags & MF_NORMALS ? mesh->nNumVertex * 3 : 0) +
94 (mesh->nFlags & MF_VERTEXCOLOR ? mesh->nNumVertex * 3 : 0) +
95 (mesh->nFlags & MF_UV ? mesh->nNumVertex * 2 : 0);