mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
block.material + minor refactor
This commit is contained in:
parent
8730b03a52
commit
b1a79e3a6e
9 changed files with 35 additions and 16 deletions
|
|
@ -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){
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue