From 2642519a52189a1774a4a1d2434ec3ab3298f51c Mon Sep 17 00:00:00 2001 From: Oliver-makes-code Date: Fri, 19 Jan 2024 19:39:39 -0600 Subject: [PATCH] wa --- Client/Rendering/Occlusion/OcclusionGraph.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Client/Rendering/Occlusion/OcclusionGraph.cs b/Client/Rendering/Occlusion/OcclusionGraph.cs index feaf728..a945a71 100644 --- a/Client/Rendering/Occlusion/OcclusionGraph.cs +++ b/Client/Rendering/Occlusion/OcclusionGraph.cs @@ -34,6 +34,7 @@ public static ChunkOcclusionBitSet Build([NotNull] Chunk chunk) { /// Get the connected faces of a single flood fill pass private static ChunkOcclusionBitSet Check(HashSet nodes) { + // Check if any faces connect var isDown = nodes.Any(it => it.y == 0); var isUp = nodes.Any(it => it.y == PositionExtensions.ChunkSize); var isNorth = nodes.Any(it => it.z == 0);