diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-20 11:58:34 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-20 11:58:34 +0100 |
commit | 9f9a79068e85ddc3cc0a085bb74a2c1abe507065 (patch) | |
tree | 63392f28c5e1a0ad278ff673f5db712ba9f36b5a /BiomeVisualiser/BiomeRenderer.cpp | |
parent | Optimized BioGen-MultiStepMap's performance by using linear interpolation, about 25 % increase in total chunk generation speed. (diff) | |
download | cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.tar cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.tar.gz cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.tar.bz2 cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.tar.lz cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.tar.xz cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.tar.zst cuberite-9f9a79068e85ddc3cc0a085bb74a2c1abe507065.zip |
Diffstat (limited to '')
-rw-r--r-- | BiomeVisualiser/BiomeRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BiomeVisualiser/BiomeRenderer.cpp b/BiomeVisualiser/BiomeRenderer.cpp index 00d6d684d..7c4302d70 100644 --- a/BiomeVisualiser/BiomeRenderer.cpp +++ b/BiomeVisualiser/BiomeRenderer.cpp @@ -46,8 +46,8 @@ bool cBiomeRenderer::Render(cPixmap & a_Pixmap) m_Cache.HintViewArea(MinBlockX / 16 - 1, MaxBlockX / 16 + 1, MinBlockZ / 16 - 1, MaxBlockZ / 16 + 1);
// Hold one current chunk of biome data:
- int CurChunkX = MAXINT32;
- int CurChunkZ = MAXINT32;
+ int CurChunkX = -10000;
+ int CurChunkZ = -10000;
cChunkDef::BiomeMap CurBiomes;
bool res = false;
|