diff options
author | Brendan Hickey <brendan@bhickey.net> | 2012-09-16 01:09:49 -0700 |
---|---|---|
committer | Brendan Hickey <brendan@bhickey.net> | 2012-12-30 19:06:13 -0800 |
commit | 51d65a72a231f63d3ba523b2f953bd09464351d5 (patch) | |
tree | e4aef7f5cf0993894a64d54bdc91f96e21b03e7c /crawl-ref/source/perlin.h | |
parent | 6783c3696236768d6d505bca012d4bb84294abd2 (diff) | |
download | crawl-ref-51d65a72a231f63d3ba523b2f953bd09464351d5.tar.gz crawl-ref-51d65a72a231f63d3ba523b2f953bd09464351d5.zip |
"And I will make you a raging river"
Fuzzed up the Abyss River with some perlin noise.
Grabbed a free perlin noise implementation, crudely ported it to C/C++.
Diffstat (limited to 'crawl-ref/source/perlin.h')
-rw-r--r-- | crawl-ref/source/perlin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/perlin.h b/crawl-ref/source/perlin.h new file mode 100644 index 0000000000..7eec2aef74 --- /dev/null +++ b/crawl-ref/source/perlin.h @@ -0,0 +1,10 @@ +#ifndef PERLIN_H +#define PERLIN_H + +namespace perlin +{ + double noise(double xin, double yin); + double noise(double xin, double yin, double zin); // Praise be to Zin! + double noise(double xin, double yin, double zin, double win); +} +#endif /* PERLIN_H */ |