mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Scale culler steps proportionally to the mesh sizes (#13250)
This commit is contained in:
parent
1de8a1e962
commit
705195b43e
8 changed files with 129 additions and 63 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue