summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/perlin.h
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2012-09-03 11:52:40 -0700
committerBrendan Hickey <brendan@bhickey.net>2012-12-30 19:06:09 -0800
commit5ecf38d3a12434ce541d30b3aa976bf35b1e3468 (patch)
treec70a14f8c9f27f0068d01af9745a844ab099e2de /crawl-ref/source/perlin.h
parent94f7d5a229f7e1693d8f19072cfbb0af0bd96602 (diff)
downloadcrawl-ref-5ecf38d3a12434ce541d30b3aa976bf35b1e3468.tar.gz
crawl-ref-5ecf38d3a12434ce541d30b3aa976bf35b1e3468.zip
Perlin Noise
Merge Perlin noise from the layout branch.
Diffstat (limited to 'crawl-ref/source/perlin.h')
-rw-r--r--crawl-ref/source/perlin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/perlin.h b/crawl-ref/source/perlin.h
new file mode 100644
index 0000000000..7caeced5a5
--- /dev/null
+++ b/crawl-ref/source/perlin.h
@@ -0,0 +1,7 @@
+#ifndef PERLIN_H
+#define PERLIN_H
+
+double perlin(double x, double y, double z);
+double fBM(double x, double y, double z, int octaves);
+
+#endif /* PERLIN_H */