From d852ea78f978df5295941b1bb2e2dd4138ef2e58 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 22 Apr 2013 19:27:15 +0000 Subject: Generator: Added notes of failed optimization attempts git-svn-id: http://mc-server.googlecode.com/svn/trunk@1404 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Generating/HeiGen.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/Generating/HeiGen.cpp') 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 @@ -228,6 +228,12 @@ void cHeiGenBiomal::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMa } // for x } // 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! -- cgit v1.2.3