12 void Effector::setContext(std::unique_ptr<Effector::Context> c)
32 Effector::~Effector() =
default;
35 float set(
float orig,
float mod)
41 float max(
float orig,
float mod)
43 return std::max(orig, mod);
47 float min(
float orig,
float mod)
49 return std::min(orig, mod);
53 float sum(
float orig,
float mod)
59 float dif(
float orig,
float mod)
Device which effects a change in the terrain.
std::unique_ptr< Context > m_context
The application context of this effector.
WFMath::AxisBox< 2 > m_box
The bounding box of the geometric shape.
Effector & operator=(const Effector &)
Assignment.