mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
Advancec Frustum Culling & fixes
This commit is contained in:
parent
11f004b582
commit
883dcbf168
12 changed files with 178 additions and 53 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue