Advancec Frustum Culling & fixes

This commit is contained in:
@clasher113
2023-11-16 16:42:57 +02:00
parent 11f004b582
commit 883dcbf168
12 changed files with 178 additions and 53 deletions
+3
View File
@@ -26,6 +26,7 @@ struct RenderData {
class Chunk {
public:
int x, z;
int bottom, top;
voxel* voxels;
Lightmap* lightmap;
int flags = 0;
@@ -37,6 +38,8 @@ public:
bool isEmpty();
void updateHeights();
Chunk* clone() const;
// flags getters/setters below