mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
Add files via upload
This commit is contained in:
parent
a5087cf221
commit
8130b0626f
17 changed files with 95 additions and 39 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "DefaultWorldGenerator.h"
|
||||
#include "WorldGenerator.h"
|
||||
#include "voxel.h"
|
||||
#include "Chunk.h"
|
||||
#include "Block.h"
|
||||
|
|
@ -120,7 +119,7 @@ int generate_tree(fnl_state *noise,
|
|||
return 0;
|
||||
}
|
||||
|
||||
void WorldGenerator::generate(voxel* voxels, int cx, int cz, int seed){
|
||||
void DefaultWorldGenerator::generate(voxel* voxels, int cx, int cz, int seed){
|
||||
const int treesTile = 12;
|
||||
fnl_state noise = fnlCreateState();
|
||||
noise.noise_type = FNL_NOISE_OPENSIMPLEX2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue