|
Mercator
|
Terrain modifier that defines an area of fixed height. More...
#include <TerrainMod.h>
Public Member Functions | |
| LevelTerrainMod (float level, const Shape< 2 > &s) | |
| Constructor. | |
| virtual void | apply (float &point, int x, int y) const |
| virtual TerrainMod * | clone () const |
| void | setShape (float level, const Shape< 2 > &s) |
Protected Attributes | |
| float | m_level |
| The height level of all points affected. | |
Private Member Functions | |
| LevelTerrainMod (LevelTerrainMod &) | |
| Copy constructor. | |
Terrain modifier that defines an area of fixed height.
This modifier sets all points inside the shape to the same altitude
| Mercator::LevelTerrainMod::LevelTerrainMod | ( | float | level, |
| const Shape< 2 > & | s | ||
| ) | [inline] |
Constructor.
| level | The height level of all points affected. |
| s | shape of the modifier. |
1.7.5