|
HighMap library (C++)
|
Bump (x, y) function class. More...
#include <functions.hpp>
Public Member Functions | |
| float | operator() (float x, float y, float ctrl_param=0.f) const |
| BumpFunction (float gain, glm::vec2 center) | |
| Construct a new Bump Function object. | |
Protected Attributes | |
| float | gain |
| Gain value that controls the steepness of the bump. | |
| glm::vec2 | center |
| Primitive reference center. | |
Bump (x, y) function class.
This class models a bump function with a specified gain and reference center. It extends the base Function class.
| hmap::BumpFunction::BumpFunction | ( | float | gain, |
| glm::vec2 | center ) |
Construct a new Bump Function object.
| gain | Gain that controls the steepness of the bump. |
| center | Primitive reference center. |
| float hmap::BumpFunction::operator() | ( | float | x, |
| float | y, | ||
| float | ctrl_param = 0.f ) const |
|
protected |
Gain value that controls the steepness of the bump.
|
protected |
Primitive reference center.