mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 07:21:51 +00:00
cleanup
This commit is contained in:
parent
b3a1cad0e1
commit
3c6089225f
16 changed files with 633 additions and 638 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
#include "voxel.hpp"
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue