aboutsummaryrefslogtreecommitdiff
path: root/src/script/scripting_client.cpp
diff options
context:
space:
mode:
authorlhofhansl <larsh@apache.org>2023-03-05 21:33:41 -0800
committerGitHub <noreply@github.com>2023-03-05 21:33:41 -0800
commit1f0d042377ed506ad460067495e5911b2fc2aacc (patch)
treebeaf0785d4d0d2dc9f043d01d0a80d588f10fbfc /src/script/scripting_client.cpp
parent9ef3c8ce388011f4f57adc9a7eb0326376aec750 (diff)
downloadminetest-1f0d042377ed506ad460067495e5911b2fc2aacc.tar.xz
Reduce server CPU consumed by occlusion culling. (#13260)
Cache blocks already occluded at a specific distance. The RemoteClient typically visits the same distance multiple time - especially at larger distances, so this saves significant CPU from recalculating the occlusion state of blocks.
Diffstat (limited to 'src/script/scripting_client.cpp')
0 files changed, 0 insertions, 0 deletions