summaryrefslogtreecommitdiffstats
path: root/src/Noise/Noise.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-11-25 16:52:32 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-11-25 16:52:32 +0100
commitd6ad5245b3590cc71686a763d71db82542b2f279 (patch)
treee03a27694e4b589f5bf04d2a595393661fa36654 /src/Noise/Noise.h
parentMerge pull request #2687 from Gargaj/signfix (diff)
parentOrePockets finisher is now configurable. (diff)
downloadcuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar
cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.gz
cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.bz2
cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.lz
cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.xz
cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.zst
cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.zip
Diffstat (limited to 'src/Noise/Noise.h')
-rw-r--r--src/Noise/Noise.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Noise/Noise.h b/src/Noise/Noise.h
index b08b96e24..4c99cee5b 100644
--- a/src/Noise/Noise.h
+++ b/src/Noise/Noise.h
@@ -49,6 +49,7 @@ public:
NOISE_DATATYPE CubicNoise3D (NOISE_DATATYPE a_X, NOISE_DATATYPE a_Y, NOISE_DATATYPE a_Z) const;
void SetSeed(int a_Seed) { m_Seed = a_Seed; }
+ int GetSeed(void) const { return m_Seed; }
inline static NOISE_DATATYPE CubicInterpolate (NOISE_DATATYPE a_A, NOISE_DATATYPE a_B, NOISE_DATATYPE a_C, NOISE_DATATYPE a_D, NOISE_DATATYPE a_Pct);
inline static NOISE_DATATYPE CosineInterpolate(NOISE_DATATYPE a_A, NOISE_DATATYPE a_B, NOISE_DATATYPE a_Pct);