aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.h
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2023-01-06 22:31:06 +0100
committerGitHub <noreply@github.com>2023-01-06 22:31:06 +0100
commit2715cc8bf68a2cc8cd583cd5b0bb732ee13a1b49 (patch)
treecd9c735604cc8ca5c7b6a84cdf5e44058a9d0e11 /src/mapblock.h
parent059f62d7d60b0aab9af47740f5d5101aa25b7077 (diff)
downloadminetest-2715cc8bf68a2cc8cd583cd5b0bb732ee13a1b49.tar.xz
Occlusion culling algorithm based on recursive descend (#13104)
Co-authored-by: DS <vorunbekannt75@web.de>
Diffstat (limited to 'src/mapblock.h')
-rw-r--r--src/mapblock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapblock.h b/src/mapblock.h
index 7df4fcaa7..b817be596 100644
--- a/src/mapblock.h
+++ b/src/mapblock.h
@@ -469,6 +469,8 @@ public:
bool contents_cached = false;
// True if we never want to cache content types for this block
bool do_not_cache_contents = false;
+ // marks the sides which are opaque: 00+Z-Z+Y-Y+X-X
+ u8 solid_sides {0};
private:
/*