![]() |
Gamedev Framework (gf) 1.2.0
A C++17 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::GradientNoise3D, gf::FractalNoise3D, gf::PerlinNoise3D, gf::OpenSimplexNoise3D, and gf::WaveletNoise3D.
|
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 |