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