diff --git a/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java b/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java index 855adc456..72dd2deac 100644 --- a/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java +++ b/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java @@ -27,6 +27,19 @@ import java.util.concurrent.CompletableFuture; * -by adding data with the lodBuilder
*

* The QuadTree is built from several layers of 2d ring buffers. + *

+ * + * Example of how the tree is visualized (please view in code, otherwise the spacing isn't maintained): + * + * C---C---C---C--- Detail level = 2
+ * B-B-B-B- Detail level = 1
+ * AAAA Detail level = 0
+ *
+ *

+ * The tree doesn't go all the way down for all areas. Looking at the example above, + * detail level 0 only exists for the middle 4 positions, attempting to access detail level 0 + * outside that range will always return null, and cannot be set. + * This is done to reduce memory and processing since we only render detail levels out a certain distance. */ public class LodQuadTree implements AutoCloseable {