Cafu Engine
SharedTerrainT Class Reference

Public Member Functions

 SharedTerrainT (const BoundingBox3dT &BB_, unsigned long SideLength_, const ArrayT< unsigned short > &HeightData_, MaterialT *Material_)
 
 SharedTerrainT (std::istream &InFile)
 
void WriteTo (std::ostream &OutFile) const
 

Public Attributes

BoundingBox3dT BB
 The lateral dimensions of the terrain. More...
 
unsigned long SideLength
 Side length of the terrain height data. More...
 
ArrayT< unsigned short > HeightData
 The height data this terrain is created from (size==SideLength*SideLength). More...
 
MaterialTMaterial
 The material for the terrain surface. More...
 
TerrainT Terrain
 

Member Data Documentation

BoundingBox3dT SharedTerrainT::BB

The lateral dimensions of the terrain.

ArrayT<unsigned short> SharedTerrainT::HeightData

The height data this terrain is created from (size==SideLength*SideLength).

MaterialT* SharedTerrainT::Material

The material for the terrain surface.

unsigned long SharedTerrainT::SideLength

Side length of the terrain height data.


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