summaryrefslogtreecommitdiff
path: root/src/noise.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-28 02:01:40 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-28 02:01:40 +0200
commitc8be58a65ce5f06bc23353b41caf9495e3b9d484 (patch)
tree1dc57a45f1fac9c2f7730bb2c80201e46ec70997 /src/noise.h
parent5707c309c9c84589a964067477027b775a511aeb (diff)
downloadminetest-c8be58a65ce5f06bc23353b41caf9495e3b9d484.tar.gz
minetest-c8be58a65ce5f06bc23353b41caf9495e3b9d484.tar.bz2
minetest-c8be58a65ce5f06bc23353b41caf9495e3b9d484.zip
A third try on terrain generation. No trees yet.
Diffstat (limited to 'src/noise.h')
-rw-r--r--src/noise.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/noise.h b/src/noise.h
index 63974e86a..88b995b1e 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -32,8 +32,14 @@ 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 noise2d_perlin_abs(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);
+double noise3d_perlin_abs(double x, double y, double z, int seed,
+ int octaves, double persistence);
+
#endif