1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 11:15:18 +02:00

Scale culler steps proportionally to the mesh sizes (#13250)

This commit is contained in:
x2048
2023-03-11 14:10:26 +01:00
committed by GitHub
parent 1de8a1e962
commit 705195b43e
8 changed files with 129 additions and 63 deletions

View File

@@ -143,6 +143,7 @@ public:
protected:
void reportMetrics(u64 save_time_us, u32 saved_blocks, u32 all_blocks) override;
private:
bool isMeshOccluded(MapBlock *mesh_block, u16 mesh_size, v3s16 cam_pos_nodes);
// update the vertex order in transparent mesh buffers
void updateTransparentMeshBuffers();