mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Project structure update
This commit is contained in:
parent
d67c707916
commit
7730da0056
19 changed files with 58 additions and 62 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#include "../world/LevelEvents.h"
|
||||
|
||||
#include "../graphics/Mesh.h"
|
||||
#include "../voxmaths.h"
|
||||
#include "../maths/voxmaths.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ bool ChunksController::loadVisible(WorldFiles* worldFiles){
|
|||
lighting->buildSkyLight(chunk->x, chunk->z);
|
||||
lighting->onChunkLoaded(chunk->x, chunk->z);
|
||||
chunk->setLighted(true);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
@ -101,4 +101,4 @@ bool ChunksController::loadVisible(WorldFiles* worldFiles){
|
|||
}
|
||||
lighting->prebuildSkyLight(chunk->x, chunk->z);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "VoxelsVolume.h"
|
||||
#include "Chunk.h"
|
||||
#include "../voxmaths.h"
|
||||
#include "../maths/voxmaths.h"
|
||||
#include "../lighting/Lightmap.h"
|
||||
|
||||
|
||||
|
|
@ -97,4 +97,4 @@ void ChunksStorage::getVoxels(VoxelsVolume* volume) const {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include "../maths/FastNoiseLite.h"
|
||||
#include <time.h>
|
||||
|
||||
#include "../declarations.h"
|
||||
#include "../definitions.h"
|
||||
|
||||
class PseudoRandom {
|
||||
unsigned short seed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue