@@ -6,8 +6,8 @@ namespace Swan { | |||
static constexpr int TILE_SIZE = 32; | |||
static constexpr int TICK_RATE = 20; | |||
static constexpr int CHUNK_HEIGHT = 64; | |||
static constexpr int CHUNK_WIDTH = 64; | |||
static constexpr int CHUNK_HEIGHT = 20; | |||
static constexpr int CHUNK_WIDTH = 32; | |||
static constexpr int PLACEHOLDER_RED = 245; | |||
static constexpr int PLACEHOLDER_GREEN = 66; | |||
static constexpr int PLACEHOLDER_BLUE = 242; |
@@ -13,7 +13,7 @@ static bool chunkLine(int l, WorldPlane &plane, ChunkPos &abspos, const Vec2i &d | |||
// Don't blow our frame budget on generating chunks, | |||
// but generate as many as possible within the budget | |||
if (clock.duration() > 0.01) | |||
if (clock.duration() > 1 / 120.0) | |||
return true; | |||
abspos += dir; | |||
} |