2D A noise function
More...
#include <gf/Noise.h>
virtual gf::Noise2D::~Noise2D |
( |
| ) |
|
|
virtual |
virtual double gf::Noise2D::getValue |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
pure virtual |
Take a 2D noise value.
- Parameters
-
x | The x coordinate of the noise value |
y | The y coordinate of the noise value |
- Returns
- The noise value
Implemented in gf::RidgedMultifractal2D, gf::HybridMultifractal2D, gf::HeteroTerrain2D, gf::Multifractal2D, gf::WorleyNoise2D, gf::OpenSimplexNoise2D, gf::SimplexNoise2D, gf::PerlinNoise2D, gf::FractalNoise2D, gf::BetterGradientNoise2D, gf::GradientNoise2D, and gf::ValueNoise2D.
double gf::Noise2D::operator() |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
Take a 2D noise value.
- Parameters
-
x | The x coordinate of the noise value |
y | The y coordinate of the noise value |
- Returns
- The noise value
- See also
- getValue()