From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02883.html | 264 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 docs/doxygen/nel/a02883.html (limited to 'docs/doxygen/nel/a02883.html') diff --git a/docs/doxygen/nel/a02883.html b/docs/doxygen/nel/a02883.html new file mode 100644 index 00000000..7972ff81 --- /dev/null +++ b/docs/doxygen/nel/a02883.html @@ -0,0 +1,264 @@ + + +NeL: NL3D::CMeshGeom::CFaceTmp struct Reference + + + +
+

NL3D::CMeshGeom::CFaceTmp Struct Reference


Detailed Description

+Just for build process. A Triangle face. +

+ +

+Definition at line 611 of file mesh.h. + + + + + + + + + + + + + + + +

Public Member Functions

void buildBoneUse (std::vector< uint > &boneUse, std::vector< CMesh::CSkinWeight > &skinWeights)
 CFaceTmp ()
CFaceTmpoperator= (const CMesh::CFace &o)

Data Fields

CCornerTmp Corner [3]
uint MaterialId
sint MatrixBlockId
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CMeshGeom::CFaceTmp::CFaceTmp  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 618 of file mesh.h. +

+References MatrixBlockId. +

+

00619                 {
+00620                         MatrixBlockId= -1;
+00621                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CMeshGeom::CFaceTmp::buildBoneUse std::vector< uint > &  boneUse,
std::vector< CMesh::CSkinWeight > &  skinWeights
+
+ + + + + +
+   + + +

+ +

+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 }
+
+

+ + + + +
+ + + + + + + + + + +
CFaceTmp& NL3D::CMeshGeom::CFaceTmp::operator= const CMesh::CFace o  )  [inline]
+
+ + + + + +
+   + + +

+ +

+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                 }
+
+


Field Documentation

+

+ + + + +
+ + +
CCornerTmp NL3D::CMeshGeom::CFaceTmp::Corner[3] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 613 of file mesh.h. +

+Referenced by NL3D::CMeshGeom::build(), and NL3D::CMeshGeom::buildSkin().

+

+ + + + +
+ + +
uint NL3D::CMeshGeom::CFaceTmp::MaterialId +
+
+ + + + + +
+   + + +

+ +

+Definition at line 614 of file mesh.h. +

+Referenced by NL3D::CMeshGeom::build().

+

+ + + + +
+ + +
sint NL3D::CMeshGeom::CFaceTmp::MatrixBlockId +
+
+ + + + + +
+   + + +

+ +

+Definition at line 616 of file mesh.h. +

+Referenced by NL3D::CMeshGeom::build(), NL3D::CMeshGeom::buildSkin(), and CFaceTmp().

+


The documentation for this struct was generated from the following files: +
Generated on Tue Mar 16 06:52:08 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1