From eb77bfc1b340ddc218fcf073918e998e25c722e5 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 16 Nov 2013 18:46:06 +0000 Subject: Those variables weren't used. It seems strange for them to be there, is the code written wrong? --- source/Generating/Noise3DGenerator.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source') 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) -- cgit v1.2.3