This commit is contained in:
MihailRis
2024-05-06 17:35:05 +03:00
parent b3a1cad0e1
commit 3c6089225f
16 changed files with 633 additions and 638 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ Lighting::~Lighting(){
} }
void Lighting::clear(){ void Lighting::clear(){
for (unsigned int index = 0; index < chunks->volume; index++){ for (size_t index = 0; index < chunks->volume; index++){
auto chunk = chunks->chunks[index]; auto chunk = chunks->chunks[index];
if (chunk == nullptr) if (chunk == nullptr)
continue; continue;
-3
View File
@@ -1,11 +1,8 @@
#include "core_defs.hpp"
#include "engine.hpp" #include "engine.hpp"
#include "files/files.hpp"
#include "files/settings_io.hpp" #include "files/settings_io.hpp"
#include "files/engine_paths.hpp" #include "files/engine_paths.hpp"
#include "util/platform.hpp" #include "util/platform.hpp"
#include "util/command_line.hpp" #include "util/command_line.hpp"
#include "window/Events.hpp"
#include "debug/Logger.hpp" #include "debug/Logger.hpp"
#include <stdexcept> #include <stdexcept>
-2
View File
@@ -1,2 +0,0 @@
#include "voxel.hpp"