#include <mod_sim_terrain_heightmap.hh>
Public Member Functions | |
| WaterTexture (const uint heightmapWidth) | |
| ~WaterTexture () | |
| uint | CLAMP_WATER_COLOR (uint in) |
| Texture::Texel32 | GetTexel (const uint lat, const uint lon) |
Private Attributes | |
| Targa * | mTarga |
| const uint8 * | mBuf |
| uint | mBufLen |
| uint | mBufWidth |
| fp | mIdxRatio |
| mod_sim::Heightmap::WaterTexture::WaterTexture | ( | const uint | heightmapWidth | ) |
Load water texture into a buffer.
| mod_sim::Heightmap::WaterTexture::~WaterTexture | ( | ) |
Clamp water color. Tuned to a specific texture.
| Texture::Texel32 mod_sim::Heightmap::WaterTexture::GetTexel | ( | const uint | lat, | |
| const uint | lon | |||
| ) | [inline] |
Get a texel (not RGBA) for water correlating to (lat,lon) of colormap. Tuned to a specific texture.
Targa* mod_sim::Heightmap::WaterTexture::mTarga [private] |
const uint8* mod_sim::Heightmap::WaterTexture::mBuf [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:31 2007