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

demeter::TriangleStrip Class Reference

Collaboration diagram for demeter::TriangleStrip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Friends

class TerrainBlock
class Terrain

Constructor & Destructor Documentation

TriangleStrip::TriangleStrip  ) 
 

Definition at line 1537 of file CLODTerrainRenderer.cpp.

TriangleStrip::~TriangleStrip  ) 
 

Definition at line 1541 of file CLODTerrainRenderer.cpp.


Member Function Documentation

void TriangleStrip::Render Terrain pTerrain  )  [inline]
 

Definition at line 1564 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 TriangleStrip::Setup Terrain pTerrain  )  [inline]
 

Definition at line 1545 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 387 of file CLODTerrainRenderer.

friend class TerrainBlock [friend]
 

Definition at line 386 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