#include <TerrainMod.h>

Public Member Functions | |
| virtual void | apply (float &point, int x, int y) const =0 |
| Apply this modifier on a terrain segment. | |
| virtual WFMath::AxisBox< 2 > | bbox () const =0 |
| Get the boundingbox of the modifier. | |
| virtual TerrainMod * | clone () const =0 |
| Create a copy of this modifier. | |
Anything that modifies the terrain implements this interface.
| virtual void Mercator::TerrainMod::apply | ( | float & | point, | |
| int | x, | |||
| int | y | |||
| ) | const [pure virtual] |
Apply this modifier on a terrain segment.
The segment is at x,y in local coordinates. Output is placed into point.
Implemented in Mercator::LevelTerrainMod< Shape >, Mercator::AdjustTerrainMod< Shape >, Mercator::SlopeTerrainMod< Shape >, and Mercator::CraterTerrainMod.
Referenced by Mercator::Segment::applyMod().
1.5.6