Gamedev Framework (gf)
0.3.0
A C++11 framework for 2D games
|
3D A noise function More...
#include <gf/Noise.h>
Public Member Functions | |
virtual | ~Noise3D () |
Virtual destructor. More... | |
virtual double | getValue (double x, double y, double z)=0 |
Take a 3D noise value. More... | |
double | operator() (double x, double y, double z) |
Take a 3D noise value. More... | |
3D A noise function
|
virtual |
Virtual destructor.
|
pure virtual |
Take a 3D noise value.
x | The x coordinate of the noise value |
y | The y coordinate of the noise value |
z | The z coordinate of the noise value |
Implemented in gf::WaveletNoise3D, gf::OpenSimplexNoise3D, gf::PerlinNoise3D, gf::FractalNoise3D, and gf::GradientNoise3D.
|
inline |
Take a 3D noise value.
x | The x coordinate of the noise value |
y | The y coordinate of the noise value |
z | The z coordinate of the noise value |