NL3D::CMesh::CCorner Struct Reference

#include <mesh.h>

Inheritance diagram for NL3D::CMesh::CCorner:

NL3D::CMeshGeom::CCornerTmp

Detailed Description

A corner of a face.

Definition at line 85 of file mesh.h.

Public Member Functions

 CCorner ()
void serial (NLMISC::IStream &f) throw (NLMISC::EStream)

Data Fields

CRGBA Color
CVector Normal
 The vertex Id.

CRGBA Specular
NLMISC::CUVW Uvws [CVertexBuffer::MaxStage]
sint32 Vertex


Constructor & Destructor Documentation

NL3D::CMesh::CCorner::CCorner  ) 
 

Definition at line 2186 of file mesh.cpp.

References NLMISC::CRGBA::set(), sint, Uvws, and Vertex.

02187 {
02188         sint    i;
02189         Vertex= 0;
02190         Normal= CVector::Null;
02191         for(i=0;i<CVertexBuffer::MaxStage;i++)
02192         {
02193                 Uvws[i]= CUVW(0, 0, 0); 
02194         }
02195         Color.set(255,255,255,255);
02196         Specular.set(0,0,0,0);
02197 }


Member Function Documentation

void NL3D::CMesh::CCorner::serial NLMISC::IStream f  )  throw (NLMISC::EStream)
 

Definition at line 2201 of file mesh.cpp.

References nlassert.

02202 {
02203         nlassert(0); // not used
02204         f.serial(Vertex);
02205         f.serial(Normal);
02206         for(int i=0;i<CVertexBuffer::MaxStage;++i) f.serial(Uvws[i]);
02207         f.serial(Color);
02208         f.serial(Specular);
02209 }


Field Documentation

CRGBA NL3D::CMesh::CCorner::Color
 

Definition at line 90 of file mesh.h.

Referenced by NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CMRMBuilder::buildMrmBaseMesh(), NL3D::CMeshGeom::CCornerTmp::operator<(), and NL3D::CMeshGeom::CCornerTmp::operator=().

CVector NL3D::CMesh::CCorner::Normal
 

The vertex Id.

Definition at line 88 of file mesh.h.

Referenced by NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CMRMBuilder::buildMrmBaseMesh(), NL3D::CMeshGeom::CCornerTmp::operator<(), and NL3D::CMeshGeom::CCornerTmp::operator=().

CRGBA NL3D::CMesh::CCorner::Specular
 

Definition at line 91 of file mesh.h.

Referenced by NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CMRMBuilder::buildMrmBaseMesh(), NL3D::CMeshGeom::CCornerTmp::operator<(), and NL3D::CMeshGeom::CCornerTmp::operator=().

NLMISC::CUVW NL3D::CMesh::CCorner::Uvws[CVertexBuffer::MaxStage]
 

Definition at line 89 of file mesh.h.

Referenced by NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CMRMBuilder::buildMrmBaseMesh(), CCorner(), NL3D::CMeshGeom::CCornerTmp::operator<(), and NL3D::CMeshGeom::CCornerTmp::operator=().

sint32 NL3D::CMesh::CCorner::Vertex
 

Definition at line 87 of file mesh.h.

Referenced by NL3D::CMeshGeom::build(), NL3D::CMeshGeom::CFaceTmp::buildBoneUse(), NL3D::CMeshGeom::buildSkin(), CCorner(), NL3D::CMeshGeom::CCornerTmp::operator<(), and NL3D::CMeshGeom::CCornerTmp::operator=().


The documentation for this struct was generated from the following files:
Generated on Tue Mar 16 06:51:04 2004 for NeL by doxygen 1.3.6