Public Member Functions | |
TerrainBlock (TerrainBlock *pParent) | |
TerrainBlock (int homeVertex, int stride, Terrain *pTerrain, TerrainBlock *pParent) | |
~TerrainBlock () | |
void | Tessellate (double *pMatrixModelview, double *pMatrixProjection, int *pViewport, TriangleStrip *pTriangleStrips, TriangleFan *pTriangleFans, int *pCountStrips, int *pCountFans, Terrain *pTerrain) |
void | Write (FILE *file) |
void | Read (FILE *file, Terrain *pTerrain) |
void | DummyFunc (Terrain *pTerrain) |
bool | IsActive () |
void | RepairCracks (Terrain *pTerrain, TriangleStrip *pTriangleStrips, TriangleFan *pTriangleFans, int *pCountStrips, int *pCountFans) |
TerrainBlock * | GetParent () |
int | GetStride () |
void | EnableStrip (bool bEnabled) |
int | GetHomeIndex () |
void | CalculateGeometry (Terrain *pTerrain) |
void | IntersectRay (Ray &ray, Vector &intersectionPoint, float &lowestDistance, Terrain *pTerrain) |
Friends | |
class | Terrain |
|
Definition at line 98 of file CLODTerrainRenderer.cpp. Referenced by Read(), and TerrainBlock(). |
|
|
Definition at line 166 of file CLODTerrainRenderer.cpp. |
|
Definition at line 472 of file CLODTerrainRenderer.cpp. References demeter::Terrain::GetVertexSpacing(), demeter::Terrain::GetWidthVertices(), demeter::Box::m_Max, demeter::Box::m_Min, demeter::Terrain::m_pVertices, demeter::Vector::x, demeter::Vector::y, and demeter::Vector::z. Referenced by Read(), and TerrainBlock(). |
|
|
Definition at line 322 of file CLODTerrainRenderer.cpp. References demeter::TriangleStrip::m_bEnabled. Referenced by RepairCracks(). |
|
Definition at line 337 of file CLODTerrainRenderer.cpp. |
|
Definition at line 332 of file CLODTerrainRenderer.cpp. |
|
Definition at line 327 of file CLODTerrainRenderer.cpp. |
|
|
|
Definition at line 181 of file CLODTerrainRenderer.cpp. |
|
Definition at line 532 of file CLODTerrainRenderer.cpp. References CalculateGeometry(), and TerrainBlock(). |
|
Definition at line 342 of file CLODTerrainRenderer.cpp. References Assert, EnableStrip(), demeter::Terrain::GetVertexStatus(), demeter::Terrain::GetWidthVertices(), demeter::TriangleFan::m_NumberOfVertices, demeter::TriangleFan::m_pVertices, and MAX_VERTICES_PER_FAN. Referenced by demeter::Terrain::ModelViewMatrixChanged(), and demeter::TerrainLattice::Tessellate(). |
|
|
Definition at line 519 of file CLODTerrainRenderer.cpp. |
|
Definition at line 443 of file CLODTerrainRenderer. |