This commit is contained in:
Ben Kyd
2019-10-18 17:07:31 +01:00
parent 5e13de6a3e
commit 2b987803b6
4 changed files with 38 additions and 32 deletions

View File

@@ -17,15 +17,15 @@ Chunk::Chunk(int x, int z) {
for (int z = 0; z < CHUNK_DEPTH; z++) {
// Grass on the top layer
if (y == CHUNK_HEIGHT - 1) {
// if (y == CHUNK_HEIGHT - 1) {
Voxels.push_back((uint8_t)EBlockType::Grass);
} else {
// } else {
Voxels.push_back((uint8_t)EBlockType::Dirt);
// Voxels.push_back((uint8_t)EBlockType::Dirt);
}
// }
}