mod_sim::Heightmap::Elem Class Reference

Element of a heightmap. More...

#include <mod_sim_terrain_heightmap.hh>

List of all members.

Public Member Functions

 Elem (void)
 ~Elem (void)
fp GetHeight (void) const
 
Returns:
Height as a fp in range {0.0,..,1.0}

Heightmap::Height GetHeightDirect (void) const
void SetHeight (Heightmap::Height height)

Private Attributes

Heightmap::Height mHeight
 integer {0,..,HEIGHT_LIMIT}


Detailed Description

Element of a heightmap.

Element struct must be minimal because Heightmap will contain lots of these.


Constructor & Destructor Documentation

mod_sim::Heightmap::Elem::Elem ( void   )  [inline]

mod_sim::Heightmap::Elem::~Elem ( void   )  [inline]


Member Function Documentation

fp mod_sim::Heightmap::Elem::GetHeight ( void   )  const [inline]

Returns:
Height as a fp in range {0.0,..,1.0}

Heightmap::Height mod_sim::Heightmap::Elem::GetHeightDirect ( void   )  const [inline]

void mod_sim::Heightmap::Elem::SetHeight ( Heightmap::Height  height  )  [inline]


Member Data Documentation

Heightmap::Height mod_sim::Heightmap::Elem::mHeight [private]

integer {0,..,HEIGHT_LIMIT}


The documentation for this class was generated from the following file: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:31 2007