optimize (part 1)

This commit is contained in:
MihailRis
2024-11-16 09:18:14 +03:00
parent 4400366719
commit b28bcf052b
5 changed files with 61 additions and 18 deletions
+1
View File
@@ -54,6 +54,7 @@ class ChunksRenderer {
bool drawChunk(
size_t index, const Camera& camera, Shader& shader, bool culling
);
std::unique_ptr<Mesh> sortedMesh;
public:
ChunksRenderer(
const Level* level,