NL3D::COrderFace Struct Reference


Public Member Functions

sint countCacheMiss (CVertexCache &vertexCache)
void insertInPB (CPrimitiveBlock &out, CVertexCache &vertexCache)

Data Fields

bool Inserted
sint v [3]

Member Function Documentation

sint NL3D::COrderFace::countCacheMiss CVertexCache vertexCache  )  [inline]
 

Definition at line 173 of file stripifier.cpp.

References NL3D::CVertexCache::isVertexInCache(), sint, and v.

00174         {
00175                 sint    ret=0 ;
00176                 if(!vertexCache.isVertexInCache(v[0]))  ret++;
00177                 if(!vertexCache.isVertexInCache(v[1]))  ret++;
00178                 if(!vertexCache.isVertexInCache(v[2]))  ret++;
00179                 return ret;
00180         }

void NL3D::COrderFace::insertInPB CPrimitiveBlock out,
CVertexCache vertexCache
[inline]
 

Definition at line 164 of file stripifier.cpp.

References NL3D::CPrimitiveBlock::addTri(), NL3D::CVertexCache::touchVertex(), and v.

00165         {
00166                 out.addTri(v[0], v[1], v[2]);
00167                 vertexCache.touchVertex(v[0]);
00168                 vertexCache.touchVertex(v[1]);
00169                 vertexCache.touchVertex(v[2]);
00170                 Inserted= true;
00171         }


Field Documentation

bool NL3D::COrderFace::Inserted
 

Definition at line 162 of file stripifier.cpp.

sint NL3D::COrderFace::v[3]
 

Definition at line 161 of file stripifier.cpp.

Referenced by NL3D::CStripifier::optimizeTriangles().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 06:57:21 2004 for NeL by doxygen 1.3.6