1
0

LinearUpscale: postfixed with InPlace to differentiate from a future src/dst version

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1479 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-05-12 21:11:25 +00:00
parent 59eb312291
commit 0a08ae14f6
7 changed files with 22 additions and 16 deletions

View File

@@ -266,7 +266,7 @@ void cHeiGenBiomal::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMa
Height[x + 17 * z] = GetHeightAt(x, z, a_ChunkX, a_ChunkZ, Biomes);
}
}
ArrayLinearUpscale2D(Height, 17, 17, STEPX, STEPZ);
ArrayLinearUpscale2DInPlace(Height, 17, 17, STEPX, STEPZ);
// Copy into the heightmap
for (int z = 0; z < cChunkDef::Width; z++)