Definition at line 611 of file mesh.h.
Public Member Functions | |
void | buildBoneUse (std::vector< uint > &boneUse, std::vector< CMesh::CSkinWeight > &skinWeights) |
CFaceTmp () | |
CFaceTmp & | operator= (const CMesh::CFace &o) |
Data Fields | |
CCornerTmp | Corner [3] |
uint | MaterialId |
sint | MatrixBlockId |
|
Definition at line 618 of file mesh.h. References MatrixBlockId.
00619 { 00620 MatrixBlockId= -1; 00621 } |
|
Definition at line 1389 of file mesh.cpp. References NL3D::CMesh::CSkinWeight::MatrixId, NL3D_MESH_SKINNING_MAX_MATRIX, sint, uint, and NL3D::CMesh::CCorner::Vertex.
01390 { 01391 boneUse.clear(); 01392 01393 // For the 3 corners of the face. 01394 for(sint i=0;i<3;i++) 01395 { 01396 // get the CSkinWeight of this vertex. 01397 CMesh::CSkinWeight &sw= skinWeights[Corner[i].Vertex]; 01398 01399 // For all skin weights of this vertex, 01400 for(sint j=0;j<NL3D_MESH_SKINNING_MAX_MATRIX;j++) 01401 { 01402 uint boneId= sw.MatrixId[j]; 01403 // insert (if not in the array) this bone. 01404 if( find(boneUse.begin(), boneUse.end(), boneId)==boneUse.end() ) 01405 boneUse.push_back(boneId); 01406 } 01407 } 01408 01409 01410 } |
|
Definition at line 622 of file mesh.h. References NL3D::CMesh::CFace::Corner, and NL3D::CMesh::CFace::MaterialId.
00623 { 00624 Corner[0]= o.Corner[0]; 00625 Corner[1]= o.Corner[1]; 00626 Corner[2]= o.Corner[2]; 00627 MaterialId= o.MaterialId; 00628 00629 return *this; 00630 } |
|
Definition at line 613 of file mesh.h. Referenced by NL3D::CMeshGeom::build(), and NL3D::CMeshGeom::buildSkin(). |
|
Definition at line 614 of file mesh.h. Referenced by NL3D::CMeshGeom::build(). |
|
Definition at line 616 of file mesh.h. Referenced by NL3D::CMeshGeom::build(), NL3D::CMeshGeom::buildSkin(), and CFaceTmp(). |