diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-03-22 04:19:59 +0000 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-04-09 12:24:53 +0100 |
commit | d423a148c8d1a0559f7d6c35ae8576c7732f5e84 (patch) | |
tree | a156758bd422040cd943f6bb87e5e36e16dc743b /crawl-ref/source/dgn-proclayouts.cc | |
parent | bacb77ced63ce15afddb36afad2f46553f1efe6f (diff) | |
download | crawl-ref-d423a148c8d1a0559f7d6c35ae8576c7732f5e84.tar.gz crawl-ref-d423a148c8d1a0559f7d6c35ae8576c7732f5e84.zip |
Make layout morph less quickly
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r-- | crawl-ref/source/dgn-proclayouts.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc index 0a4d3cc0cd..f012993b9a 100644 --- a/crawl-ref/source/dgn-proclayouts.cc +++ b/crawl-ref/source/dgn-proclayouts.cc @@ -606,7 +606,7 @@ double SimplexFunction::operator()(double x, double y, double z) const { double hx = (x / (double)10 + seed_x) * scale_x; double hy = (y / (double)10 + seed_y) * scale_y; - double hz = (z / (double)2000 + seed_z) * scale_z; + double hz = (z / (double)10000 + seed_z) * scale_z; // Use octaval simplex and scale into a 0..1 range return perlin::fBM(hx, hy, hz, octaves) / 2.0 + 0.5; } @@ -626,7 +626,7 @@ worley::noise_datum WorleyFunction::datum(double x, double y, double z) const { double hx = (x * (double)0.8 + seed_x) * scale_x; double hy = (y * (double)0.8 + seed_y) * scale_y; - double hz = (z * (double)0.004 + seed_z) * scale_z; + double hz = (z * (double)0.0008 + seed_z) * scale_z; return worley::noise(hx, hy, hz); } |