start 16x16. Faster. Caves are broken

pull/12/head
valoeghese 2020-03-01 16:58:45 +13:00
parent 4cff7b5d64
commit 4b918be743
2 changed files with 2 additions and 2 deletions

View File

@ -159,5 +159,5 @@ public final class LitecraftSave
}
private static final String SAVE_DIR = "./saves/";
private static final int RENDER_SIZE = 10;
private static final int RENDER_SIZE = 5;
}

View File

@ -2,7 +2,7 @@ package com.github.halotroop.litecraft.world.gen;
public interface WorldGenConstants
{
int POS_SHIFT = 3;
int POS_SHIFT = 4;
int DOUBLE_SHIFT = POS_SHIFT * 2;
int CHUNK_SIZE = (int) Math.pow(2, POS_SHIFT);
int MAX_POS = CHUNK_SIZE - 1;