diff options
author | x2048 <codeforsmile@gmail.com> | 2023-03-11 14:10:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 14:10:26 +0100 |
commit | 705195b43e620d305bf83b3796699faadb2314ef (patch) | |
tree | 4df8a624217f329cb77a5a42e79d63b820e99e43 /src/client/clientmap.h | |
parent | 1de8a1e962098b94154111c7aafe18c4aab74fc9 (diff) | |
download | minetest-705195b43e620d305bf83b3796699faadb2314ef.tar.xz |
Scale culler steps proportionally to the mesh sizes (#13250)
Diffstat (limited to 'src/client/clientmap.h')
-rw-r--r-- | src/client/clientmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/clientmap.h b/src/client/clientmap.h index 37931d4e7..b9f7b4dfa 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -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(); |