DiskFunction (x, y) function class.
More...
#include <functions.hpp>
|
| float | radius |
| | Radius of the disk.
|
| float | slope |
| | Slope of the disk.
|
| glm::vec2 | center |
| | Primitive reference center.
|
DiskFunction (x, y) function class.
◆ DiskFunction()
| hmap::DiskFunction::DiskFunction |
( |
float | radius, |
|
|
float | slope, |
|
|
glm::vec2 | center ) |
Construct a new Disk Function object.
- Parameters
-
| radius | Radius of the disk (with respect to a unit domain). |
| slope | Side slope (with respect to a unit domain). |
| center | Primitive reference center. |
◆ operator()()
| float hmap::DiskFunction::operator() |
( |
float | x, |
|
|
float | y, |
|
|
float | ctrl_param = 0.f ) const |
◆ radius
| float hmap::DiskFunction::radius |
|
protected |
◆ slope
| float hmap::DiskFunction::slope |
|
protected |
◆ center
| glm::vec2 hmap::DiskFunction::center |
|
protected |
Primitive reference center.
The documentation for this class was generated from the following files: