summaryrefslogtreecommitdiffstats
path: root/src/Noise
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-11-25 15:06:32 +0100
committerMattes D <github@xoft.cz>2015-11-25 15:06:32 +0100
commit326f5e04f7c7a2e02a9c0a627d4b8e686091b250 (patch)
treee03a27694e4b589f5bf04d2a595393661fa36654 /src/Noise
parentAdded OrePockets and DirtPockets finish gens. (diff)
downloadcuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.tar
cuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.tar.gz
cuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.tar.bz2
cuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.tar.lz
cuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.tar.xz
cuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.tar.zst
cuberite-326f5e04f7c7a2e02a9c0a627d4b8e686091b250.zip
Diffstat (limited to 'src/Noise')
-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);