From 72be1e26023c94841df60965ca7bc4d6b1ba5bdb Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 18 Dec 2025 10:17:36 -0600 Subject: [PATCH] Remove LodRenderSection.isFullyGenerated() --- .../core/render/LodRenderSection.java | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java b/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java index b98f4cfc0..c64173c71 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java @@ -126,8 +126,6 @@ public class LodRenderSection implements IDebugRenderable, AutoCloseable private Supplier missingGenerationPosFunc; private LongArrayList getMissingGenerationPos() { return this.missingGenerationPosFunc != null ? this.missingGenerationPosFunc.get() : null; } - private boolean checkedIfFullDataSourceExists = false; - private boolean fullDataSourceExists = false; @@ -459,33 +457,6 @@ public class LodRenderSection implements IDebugRenderable, AutoCloseable //=================================// //region full data retrieval - public boolean isFullyGenerated() - { - LongArrayList missingGenerationPos = this.getMissingGenerationPos(); - return missingGenerationPos != null && missingGenerationPos.isEmpty(); - } - /** Returns true if an LOD exists, regardless of what data is in it */ - public boolean getFullDataSourceExists() - { - if (!this.checkedIfFullDataSourceExists) - { - this.fullDataSourceExists = this.fullDataSourceProvider.repo.existsWithKey(this.pos); - this.checkedIfFullDataSourceExists = true; - } - - return this.fullDataSourceExists; - } - public void updateFullDataSourceExists() - { - // we don't have any ability to remove LODs so we only - // need to check if an LOD was previously missing - if (!this.fullDataSourceExists) - { - this.checkedIfFullDataSourceExists = false; - this.getFullDataSourceExists(); - } - } - public boolean missingPositionsCalculated() { return this.getMissingGenerationPos() != null; } public int ungeneratedPositionCount() {