summaryrefslogtreecommitdiffstats
path: root/source/Generating/HeiGen.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-22 21:27:15 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-22 21:27:15 +0200
commitd852ea78f978df5295941b1bb2e2dd4138ef2e58 (patch)
treea9913493212f7c4bb0af0349b1590f9fb91d326a /source/Generating/HeiGen.cpp
parentVC2008 project file: enabled multi-threaded compilation of Release and Release-profiled targets (diff)
downloadcuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.tar
cuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.tar.gz
cuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.tar.bz2
cuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.tar.lz
cuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.tar.xz
cuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.tar.zst
cuberite-d852ea78f978df5295941b1bb2e2dd4138ef2e58.zip
Diffstat (limited to 'source/Generating/HeiGen.cpp')
-rw-r--r--source/Generating/HeiGen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Generating/HeiGen.cpp b/source/Generating/HeiGen.cpp
index 085459ad7..baf013a16 100644
--- a/source/Generating/HeiGen.cpp
+++ b/source/Generating/HeiGen.cpp
@@ -229,6 +229,12 @@ void cHeiGenBiomal::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMa
} // for z
/*
+ _X 2013_04_22:
+ There's no point in precalculating the entire perlin noise arrays, too many values are calculated uselessly,
+ resulting in speed DEcrease.
+ */
+
+ /*
// Linearly interpolate 4x4 blocks of heightmap:
// This is fast, but really ugly! Do not use!
const int STEPZ = 4; // Must be a divisor of 16