We are the wooooorld, we are the childreeen
This commit is contained in:
@@ -9,7 +9,7 @@ Array2d<Chunk*>& World::GetChunks() { return m_chunks; }
|
||||
void World::BuildWorld() {
|
||||
for (int x = 0; x < WORLD_SIZE_X; ++x)
|
||||
for (int y = 0; y < WORLD_SIZE_Y; ++y)
|
||||
m_chunks.Set(x - m_center[0], y - m_center[1], new Chunk(x + m_center[0], y + m_center[1], m_seed));
|
||||
m_chunks.Set(x, y, new Chunk(x + m_center[0], y + m_center[1], m_seed));
|
||||
}
|
||||
|
||||
void World::SetSeed(uint64_t seed) {
|
||||
|
Reference in New Issue
Block a user