diff options
Diffstat (limited to 'src/noise.h')
-rw-r--r-- | src/noise.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/noise.h b/src/noise.h index c069046c3..63974e86a 100644 --- a/src/noise.h +++ b/src/noise.h @@ -24,11 +24,16 @@ double easeCurve(double t); // Return value: -1 ... 1 double noise2d(int x, int y, int seed); +double noise3d(int x, int y, int z, int seed); double noise2d_gradient(double x, double y, int seed); +double noise3d_gradient(double x, double y, double z, int seed); double noise2d_perlin(double x, double y, int seed, int octaves, double persistence); +double noise3d_perlin(double x, double y, double z, int seed, + int octaves, double persistence); + #endif |