Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
wa
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-makes-code committed Jan 20, 2024
1 parent ecbd3a2 commit 2642519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Client/Rendering/Occlusion/OcclusionGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ivec3> 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);
Expand Down

0 comments on commit 2642519

Please sign in to comment.