Public Member Functions | |
height_t & | height (uint x, uint y) |
Height map accessor. | |
Data Fields | |
height_t * | h |
uint | dim_x |
uint | total_size |
uint | size_x |
uint | size_y |
Definition at line 169 of file tgp.cpp.
height_t& HeightMap::height | ( | uint | x, | |
uint | y | |||
) | [inline] |
Height map accessor.
x | X position | |
y | Y position |
Definition at line 183 of file tgp.cpp.
Referenced by ApplyNoise(), GenerateTerrainPerlin(), HeightMapCoastLines(), HeightMapGetMinMaxAvg(), HeightMapSmoothCoastInDirection(), and HeightMapSmoothSlopes().