diff options
author | madmaxoft <github@xoft.cz> | 2014-09-27 22:01:47 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-27 22:01:47 +0200 |
commit | 113b54aefda025f3cb47d5285e12104e8681506e (patch) | |
tree | caa1e25f3bbffb352aea00c2518fdf064d8eabda /src/Generating/BioGen.h | |
parent | Fixed minor style issues. (diff) | |
download | cuberite-113b54aefda025f3cb47d5285e12104e8681506e.tar cuberite-113b54aefda025f3cb47d5285e12104e8681506e.tar.gz cuberite-113b54aefda025f3cb47d5285e12104e8681506e.tar.bz2 cuberite-113b54aefda025f3cb47d5285e12104e8681506e.tar.lz cuberite-113b54aefda025f3cb47d5285e12104e8681506e.tar.xz cuberite-113b54aefda025f3cb47d5285e12104e8681506e.tar.zst cuberite-113b54aefda025f3cb47d5285e12104e8681506e.zip |
Diffstat (limited to 'src/Generating/BioGen.h')
-rw-r--r-- | src/Generating/BioGen.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/Generating/BioGen.h b/src/Generating/BioGen.h index 20d199611..22ddfae5c 100644 --- a/src/Generating/BioGen.h +++ b/src/Generating/BioGen.h @@ -285,12 +285,7 @@ protected: /// The Voronoi map that decides biomes inside individual biome groups cVoronoiMap m_VoronoiSmall; - /// The noise used to distort the input X coord - cPerlinNoise m_DistortX; - - /// The noise used to distort the inupt Z coord - cPerlinNoise m_DistortZ; - + // The noises used for the distortion: cNoise m_Noise1; cNoise m_Noise2; cNoise m_Noise3; @@ -298,6 +293,14 @@ protected: cNoise m_Noise5; cNoise m_Noise6; + // Frequencies and amplitudes for the distortion noises: + float m_FreqX1, m_AmpX1; + float m_FreqX2, m_AmpX2; + float m_FreqX3, m_AmpX3; + float m_FreqZ1, m_AmpZ1; + float m_FreqZ2, m_AmpZ2; + float m_FreqZ3, m_AmpZ3; + // cBiomeGen overrides: virtual void GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap) override; |