mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +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(){
|
||||
for (unsigned int index = 0; index < chunks->volume; index++){
|
||||
for (size_t index = 0; index < chunks->volume; index++){
|
||||
auto chunk = chunks->chunks[index];
|
||||
if (chunk == nullptr)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue