fix extended blocks culling on chunk borders

This commit is contained in:
MihailRis 2026-02-18 22:32:31 +03:00
parent 8e51f1b77c
commit 7abbe43c3c
5 changed files with 33 additions and 13 deletions

View file

@ -6,6 +6,7 @@
#include "voxels/Chunk.hpp"
#include "voxels/VoxelsVolume.hpp"
#include "maths/util.hpp"
#include "maths/aabb.hpp"
#include "commons.hpp"
#include "settings.hpp"
@ -56,6 +57,7 @@ private:
bool cancelled = false;
bool densePass = false;
bool denseRender = false;
AABB meshAABB {};
const Chunk* chunk = nullptr;
const VoxelsRenderVolume* voxelsBuffer = nullptr;