Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

demeter::TriangleFan Class Reference

Collaboration diagram for demeter::TriangleFan:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TriangleFan ()
 ~TriangleFan ()
void Render (Terrain *pTerrain)
void Setup (Terrain *pTerrain)

Friends

class TerrainBlock
class Terrain

Constructor & Destructor Documentation

TriangleFan::TriangleFan  ) 
 

Definition at line 1606 of file CLODTerrainRenderer.cpp.

TriangleFan::~TriangleFan  ) 
 

Definition at line 1610 of file CLODTerrainRenderer.cpp.


Member Function Documentation

void TriangleFan::Render Terrain pTerrain  )  [inline]
 

Definition at line 1630 of file CLODTerrainRenderer.cpp.

References EPSILON, f, demeter::Terrain::GetCommonTextureRepeats(), demeter::Terrain::GetTextureTileHeight(), demeter::Terrain::GetTextureTileWidth(), GL_TEXTURE0_ARB, GL_TEXTURE1_ARB, glMultiTexCoord2fARB_ptr, demeter::Terrain::m_bMultiTextureSupported, demeter::Terrain::m_OffsetX, demeter::Terrain::m_OffsetY, demeter::Terrain::m_pVertices, demeter::Vector::x, and demeter::Vector::y.

Referenced by demeter::Terrain::Render().

void TriangleFan::Setup Terrain pTerrain  )  [inline]
 

Definition at line 1614 of file CLODTerrainRenderer.cpp.

References demeter::Terrain::GetNumberOfTextureTilesWidth(), demeter::Terrain::GetTextureTileHeight(), demeter::Terrain::GetTextureTileWidth(), demeter::Terrain::m_pVertices, demeter::Vector::x, and demeter::Vector::y.

Referenced by demeter::Terrain::Render().


Friends And Related Function Documentation

friend class Terrain [friend]
 

Definition at line 369 of file CLODTerrainRenderer.

friend class TerrainBlock [friend]
 

Definition at line 368 of file CLODTerrainRenderer.


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 16:39:45 2004 for OpenSim by doxygen 1.3.6