![]() |
Gamedev Framework (gf)
0.2.0
A C++11 framework for 2D games
|
2D A noise function More...
#include <gf/Noise.h>

Public Member Functions | |
| virtual | ~Noise2D () |
| Virtual destructor. More... | |
| virtual double | getValue (double x, double y)=0 |
| Take a 2D noise value. More... | |
| double | operator() (double x, double y) |
| Take a 2D noise value. More... | |
2D A noise function
|
virtual |
Virtual destructor.
|
pure virtual |
Take a 2D noise value.
| x | The x coordinate of the noise value |
| y | The y coordinate of the noise value |
Implemented in gf::WorleyNoise2D, gf::OpenSimplexNoise2D, gf::SimplexNoise2D, gf::PerlinNoise2D, gf::FractalNoise2D, and gf::GradientNoise2D.
|
inline |
Take a 2D noise value.
| x | The x coordinate of the noise value |
| y | The y coordinate of the noise value |
1.8.8