This commit is contained in:
MarcEricMartel
2021-12-02 11:38:11 -05:00
parent 4bb865cbba
commit 2ad6b7e2c6
10 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,6 @@ Chunk::Chunk(int x, int y, char data[CHUNK_SIZE_X * CHUNK_SIZE_Y * CHUNK_SIZE_Z]
for (int z = 0; z < CHUNK_SIZE_Z; ++z)
for (int y = 0; y < CHUNK_SIZE_Y; ++y)
m_blocks.Set(x, y, z, data[x + (z * CHUNK_SIZE_X) + (y * CHUNK_SIZE_Z * CHUNK_SIZE_X)]);
}
Chunk::~Chunk() {