Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1). More...
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 |
Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1).
Definition at line 164 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 178 of file tgp.cpp.
Referenced by ApplyNoise(), GenerateTerrainPerlin(), HeightMapCoastLines(), HeightMapGetMinMaxAvg(), HeightMapSmoothCoastInDirection(), and HeightMapSmoothSlopes().
1.7.1