summaryrefslogtreecommitdiffstats
path: root/src/Generating/Noise3DGenerator.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-18 23:21:57 +0100
committerMattes D <github@xoft.cz>2014-11-18 23:21:57 +0100
commitc048f2bd95bd74c54f32e37978da47d450ac567b (patch)
treec18233fbf4daaffcdd62b9f08b7ff6fb647dcbe0 /src/Generating/Noise3DGenerator.h
parentMoved all Noise-related files into a separate folder. (diff)
downloadcuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.tar
cuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.tar.gz
cuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.tar.bz2
cuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.tar.lz
cuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.tar.xz
cuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.tar.zst
cuberite-c048f2bd95bd74c54f32e37978da47d450ac567b.zip
Diffstat (limited to 'src/Generating/Noise3DGenerator.h')
-rw-r--r--src/Generating/Noise3DGenerator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Generating/Noise3DGenerator.h b/src/Generating/Noise3DGenerator.h
index 8a6e97e1c..d198c5498 100644
--- a/src/Generating/Noise3DGenerator.h
+++ b/src/Generating/Noise3DGenerator.h
@@ -14,6 +14,7 @@
#include "ComposableGenerator.h"
#include "../Noise/Noise.h"
+#include "../Noise/InterpolNoise.h"
@@ -43,7 +44,9 @@ protected:
static const int DIM_Y = 1 + cChunkDef::Height / UPSCALE_Y;
static const int DIM_Z = 1 + cChunkDef::Width / UPSCALE_Z;
- cPerlinNoise m_Perlin; // The base 3D noise source for the actual composition
+ /** The base 3D noise source for the actual composition */
+ cOctavedNoise<cInterp5DegNoise> m_Perlin;
+
cCubicNoise m_Cubic; // The noise used for heightmap directing
int m_SeaLevel;