chunk flags converted to a bitfield
This commit is contained in:
@@ -79,7 +79,7 @@ bool WorldRenderer::drawChunk(
|
||||
bool culling
|
||||
){
|
||||
auto chunk = level->chunks->chunks[index];
|
||||
if (!chunk->isLighted()) {
|
||||
if (!chunk->flags.lighted) {
|
||||
return false;
|
||||
}
|
||||
float distance = glm::distance(
|
||||
|
||||
Reference in New Issue
Block a user