|
| CraterTerrainMod (float level, const Shape< 2 > &s) |
| Constructor. More...
|
|
virtual void | apply (float &point, int x, int y) const |
| Apply this modifier on a terrain segment. More...
|
|
void | setShape (float level, const Shape< 2 > &s) |
|
| ShapeTerrainMod (const Shape< 2 > &s) |
| Constructor. More...
|
|
virtual bool | checkIntersects (const Segment &s) const |
|
void | setShape (const Shape< 2 > &s) |
|
int | addToSegment (Segment &) const |
|
void | updateToSegment (Segment &) const |
|
void | removeFromSegment (Segment &) const |
|
void | setFunction (effector_func f) |
| Change the function used to apply this mod to existing points.
|
|
Context * | context () const |
|
void | setContext (Context *) |
|
const WFMath::AxisBox< 2 > & | bbox () const |
| Accessor for the bounding box of the geometric shape.
|
|
template<template< int > class Shape>
class Mercator::CraterTerrainMod< Shape >
Terrain modifier that defines a crater.
This modifier creates an area where a sphere shaped volume has been subtracted from the terrain surface to create a spherical crater.