diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-11-16 19:46:06 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-11-16 19:46:06 +0100 |
commit | eb77bfc1b340ddc218fcf073918e998e25c722e5 (patch) | |
tree | b980e9276e20443d97c9e335e30f8432eaffb278 /source | |
parent | Fixed another one... (diff) | |
download | cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.tar cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.tar.gz cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.tar.bz2 cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.tar.lz cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.tar.xz cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.tar.zst cuberite-eb77bfc1b340ddc218fcf073918e998e25c722e5.zip |
Diffstat (limited to 'source')
-rw-r--r-- | source/Generating/Noise3DGenerator.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/Generating/Noise3DGenerator.cpp b/source/Generating/Noise3DGenerator.cpp index e44f5f135..c39bb5594 100644 --- a/source/Generating/Noise3DGenerator.cpp +++ b/source/Generating/Noise3DGenerator.cpp @@ -389,10 +389,6 @@ void cNoise3DComposable::GenerateNoiseArrayIfNeeded(int a_ChunkX, int a_ChunkZ) const int UPSCALE_Y = 4; const int UPSCALE_Z = 8; - const int DIM_X = 1 + cChunkDef::Width / UPSCALE_X; - const int DIM_Y = 1 + cChunkDef::Height / UPSCALE_Y; - const int DIM_Z = 1 + cChunkDef::Width / UPSCALE_Z; - // Precalculate a "height" array: NOISE_DATATYPE Height[17 * 17]; // x + 17 * z for (int z = 0; z < 17; z += UPSCALE_Z) |