|
Mercator
|
Base class for modifiers to the procedurally generated terrain. More...
#include <TerrainMod.h>
Public Member Functions | |
| int | addToSegment (Segment &) const |
| void | updateToSegment (Segment &) const |
| void | removeFromSegment (Segment &) const |
| virtual void | apply (float &point, int x, int y) const =0 |
| Apply this modifier on a terrain segment. | |
| virtual TerrainMod * | clone () const =0 |
| Create a copy of this modifier. | |
Base class for modifiers to the procedurally generated terrain.
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.
Referenced by Mercator::Segment::applyMod().
1.7.5