diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-14 23:11:40 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-14 23:11:40 +0200 |
commit | 464dcc3764f42fd7620bc261b844bf79cfd07768 (patch) | |
tree | 1da1e45d9491f6ce3ed71de63c2347c821bef68e /source/Generating/CompoGen.cpp | |
parent | Added more logging to pickup collection code. (diff) | |
download | cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.tar cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.tar.gz cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.tar.bz2 cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.tar.lz cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.tar.xz cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.tar.zst cuberite-464dcc3764f42fd7620bc261b844bf79cfd07768.zip |
Diffstat (limited to 'source/Generating/CompoGen.cpp')
-rw-r--r-- | source/Generating/CompoGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Generating/CompoGen.cpp b/source/Generating/CompoGen.cpp index 432616a36..b99919e0d 100644 --- a/source/Generating/CompoGen.cpp +++ b/source/Generating/CompoGen.cpp @@ -442,7 +442,7 @@ void cCompoGenNether::ComposeTerrain(cChunkDesc & a_ChunkDesc) m_Noise2.IntNoise3DInt(BaseX + INTERPOL_X * x, 0, BaseZ + INTERPOL_Z * z) / 256; } // for x, z - FloorLo[] - ArrayLinearUpscale2DInPlace(FloorLo, 17, 17, INTERPOL_X, INTERPOL_Z); + LinearUpscale2DArrayInPlace(FloorLo, 17, 17, INTERPOL_X, INTERPOL_Z); // Interpolate segments: for (int Segment = 0; Segment < MaxHeight; Segment += SEGMENT_HEIGHT) @@ -455,7 +455,7 @@ void cCompoGenNether::ComposeTerrain(cChunkDesc & a_ChunkDesc) m_Noise2.IntNoise3DInt(BaseX + INTERPOL_Z * x, Segment + SEGMENT_HEIGHT, BaseZ + INTERPOL_Z * z) / 256; } // for x, z - FloorLo[] - ArrayLinearUpscale2DInPlace(FloorHi, 17, 17, INTERPOL_X, INTERPOL_Z); + LinearUpscale2DArrayInPlace(FloorHi, 17, 17, INTERPOL_X, INTERPOL_Z); // Interpolate between FloorLo and FloorHi: for (int z = 0; z < 16; z++) for (int x = 0; x < 16; x++) |