block.material + minor refactor

This commit is contained in:
MihailRis
2024-04-25 05:12:45 +03:00
parent 8730b03a52
commit b1a79e3a6e
9 changed files with 35 additions and 16 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
#include "../maths/util.h"
#include "../core_defs.h"
// TODO: do something with long conditions + move magic numbers to constants
// will be refactored in generators update
const int SEA_LEVEL = 55;
@@ -204,4 +204,4 @@ void DefaultWorldGenerator::generate(voxel* voxels, int cx, int cz, int seed){
}
}
}
}
}