Major occlusion search optimizations #34

Merged
embeddedt merged 11 commits from occlusion-opts into stonecutter 2026-08-18 19:59:03 -04:00
Showing only changes of commit 8273d92807 - Show all commits
@@ -67,4 +67,11 @@ public enum ChunkUpdateType {
public boolean isSort() { public boolean isSort() {
return this == SORT || this == IMPORTANT_SORT; return this == SORT || this == IMPORTANT_SORT;
} }
static {
if (VALUES.length > 7) {
// See PackedSectionMetadata, OcclusionCuller, etc.
throw new AssertionError("The occlusion system currently assumes there are at most 7 update types");
}
}
} }