diff options
author | madmaxoft <github@xoft.cz> | 2014-03-21 22:53:46 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-21 22:53:46 +0100 |
commit | c9163d39f74302fc943e6c9b3b8442061a5f089e (patch) | |
tree | 3b11f69710f5d718191fe5254555171bcf270745 /src/Generating/StructGen.cpp | |
parent | Updated the tolua++ executable for Win builds. (diff) | |
download | cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.tar cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.tar.gz cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.tar.bz2 cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.tar.lz cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.tar.xz cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.tar.zst cuberite-c9163d39f74302fc943e6c9b3b8442061a5f089e.zip |
Diffstat (limited to 'src/Generating/StructGen.cpp')
-rw-r--r-- | src/Generating/StructGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/StructGen.cpp b/src/Generating/StructGen.cpp index 3cc8a09c3..db9d5578c 100644 --- a/src/Generating/StructGen.cpp +++ b/src/Generating/StructGen.cpp @@ -578,7 +578,7 @@ void cStructGenDirectOverhangs::GenFinish(cChunkDesc & a_ChunkDesc) m_Noise2.IntNoise3DInt(BaseX + INTERPOL_X * x, BaseY, BaseZ + INTERPOL_Z * z) / 256; } // for x, z - FloorLo[] - LinearUpscale2DArrayInPlace(FloorLo, 17, 17, INTERPOL_X, INTERPOL_Z); + LinearUpscale2DArrayInPlace<17, 17, INTERPOL_X, INTERPOL_Z>(FloorLo); // Interpolate segments: for (int Segment = BaseY; Segment < MaxHeight; Segment += SEGMENT_HEIGHT) @@ -591,7 +591,7 @@ void cStructGenDirectOverhangs::GenFinish(cChunkDesc & a_ChunkDesc) m_Noise2.IntNoise3DInt(BaseX + INTERPOL_Z * x, Segment + SEGMENT_HEIGHT, BaseZ + INTERPOL_Z * z) / 256; } // for x, z - FloorLo[] - LinearUpscale2DArrayInPlace(FloorHi, 17, 17, INTERPOL_X, INTERPOL_Z); + LinearUpscale2DArrayInPlace<17, 17, INTERPOL_X, INTERPOL_Z>(FloorHi); // Interpolate between FloorLo and FloorHi: for (int z = 0; z < 16; z++) for (int x = 0; x < 16; x++) |