# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CPatchQuadBlock Class Reference

A group of tiles faces in a patch. More...

#include <patch.h>

List of all members.

Public Methods

void buildTileTriangles (uint8 quadId, CTrianglePatch triangles[2]) const
 build the 2 triangles from a quad of the CPatchQuadBlock. More...


Public Attributes

CPatchBlockIdent PatchBlockId
 from what subPart of the patch those data comes from. More...

CVector Vertices [NL_PATCH_BLOCK_MAX_VERTEX *NL_PATCH_BLOCK_MAX_VERTEX]
 evaluated Vertices of this patch. More...


Detailed Description

A group of tiles faces in a patch.

For speed/mem, max size of a CPatchQuadBlock is fixed.

Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 248 of file patch.h.


Member Function Documentation

void NL3D::CPatchQuadBlock::buildTileTriangles uint8    quadId,
CTrianglePatch    triangles[2]
const
 

build the 2 triangles from a quad of the CPatchQuadBlock.

quadId is the number of the quad, relatively to the PatchQuadBlock.

Definition at line 403 of file patch.cpp.

References NL_PATCH_BLOCK_MAX_QUAD, NL_PATCH_BLOCK_MAX_VERTEX, nlassert, PatchBlockId, s, t, and Vertices.


Member Data Documentation

CPatchBlockIdent NL3D::CPatchQuadBlock::PatchBlockId
 

from what subPart of the patch those data comes from.

Definition at line 252 of file patch.h.

Referenced by buildTileTriangles.

CVector NL3D::CPatchQuadBlock::Vertices[NL_PATCH_BLOCK_MAX_VERTEX*NL_PATCH_BLOCK_MAX_VERTEX]
 

evaluated Vertices of this patch.

Definition at line 255 of file patch.h.

Referenced by buildTileTriangles.


The documentation for this class was generated from the following files: