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

@ -71,13 +71,13 @@ public:
);
virtual ~ChunksRenderer();
const Mesh<ChunkVertex>* render(
const ChunkMesh* render(
const std::shared_ptr<Chunk>& chunk, bool important, bool lowPriority
);
void unload(const Chunk* chunk);
void clear();
const Mesh<ChunkVertex>* getOrRender(
const ChunkMesh* getOrRender(
const std::shared_ptr<Chunk>& chunk, bool important, bool lowPriority
);