however
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "Block.h"
|
||||
|
||||
#include "../core_defs.h"
|
||||
#include "../util/stringutil.h"
|
||||
#include "../core_defs.hpp"
|
||||
#include "../util/stringutil.hpp"
|
||||
|
||||
CoordSystem::CoordSystem(glm::ivec3 axisX, glm::ivec3 axisY, glm::ivec3 axisZ)
|
||||
: axisX(axisX), axisY(axisY), axisZ(axisZ)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "voxel.h"
|
||||
|
||||
#include "../items/Inventory.h"
|
||||
#include "../content/ContentLUT.h"
|
||||
#include "../content/ContentLUT.hpp"
|
||||
#include "../lighting/Lightmap.h"
|
||||
|
||||
Chunk::Chunk(int xpos, int zpos) : x(xpos), z(zpos){
|
||||
|
||||
@@ -3,6 +3,14 @@
|
||||
#include "Chunk.h"
|
||||
#include "Block.h"
|
||||
|
||||
#define FNL_IMPL
|
||||
#include "../maths/FastNoiseLite.h"
|
||||
|
||||
#include "../content/Content.h"
|
||||
#include "../maths/voxmaths.h"
|
||||
#include "../maths/util.h"
|
||||
#include "../core_defs.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
@@ -10,13 +18,6 @@
|
||||
#include <math.h>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/noise.hpp>
|
||||
#define FNL_IMPL
|
||||
#include "../maths/FastNoiseLite.h"
|
||||
|
||||
#include "../content/Content.h"
|
||||
#include "../maths/voxmaths.h"
|
||||
#include "../maths/util.h"
|
||||
#include "../core_defs.h"
|
||||
|
||||
// will be refactored in generators update
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "Chunk.h"
|
||||
|
||||
#include "../content/Content.h"
|
||||
#include "../core_defs.h"
|
||||
#include "../core_defs.hpp"
|
||||
|
||||
void FlatWorldGenerator::generate(voxel* voxels, int cx, int cz, int seed) {
|
||||
for (int z = 0; z < CHUNK_D; z++) {
|
||||
@@ -25,4 +25,4 @@ void FlatWorldGenerator::generate(voxel* voxels, int cx, int cz, int seed) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user