fix LodQuadTree compiling and in-mobile functionality

This commit is contained in:
James Seibel
2023-03-18 21:57:54 -05:00
parent 3c4faf1cd0
commit adf5d3eb14
@@ -289,7 +289,7 @@ public class LodQuadTree implements AutoCloseable
updateAllRenderSectionChildCounts(playerPos);
// updateAllRenderSections();
updateAllRenderSections();
}
catch (Exception e)
{
@@ -309,7 +309,7 @@ public class LodQuadTree implements AutoCloseable
// child and parent are relative to the detail level
final MovableGridRingList<LodRenderSection> childRingList = (sectionDetailLevel == TREE_LOWEST_DETAIL_LEVEL) ? null : this.renderSectionRingLists[sectionDetailLevel- TREE_LOWEST_DETAIL_LEVEL -1];
// final MovableGridRingList<LodRenderSection> parentRingList = (sectionDetailLevel == this.treeMaxDetailLevel) ? null : this.renderSectionRingLists[sectionDetailLevel- TREE_LOWEST_DETAIL_LEVEL +1];
final MovableGridRingList<LodRenderSection> parentRingList = (sectionDetailLevel == this.treeMaxDetailLevel) ? null : this.renderSectionRingLists[sectionDetailLevel- TREE_LOWEST_DETAIL_LEVEL +1];
ringList.forEachPosOrdered((renderSection, tree2dPos) ->