Add toString methods

This commit is contained in:
James Seibel
2021-08-14 21:01:27 -05:00
parent ae9eba0608
commit 247b7d5633
2 changed files with 14 additions and 0 deletions
@@ -636,6 +636,13 @@ public class LodQuadTree
public String toString()
{
String s = lodNode.toString();
s += treeFull ? "Full and " : "";
s += treeEmpty ? "Empty " : "";
if (lodNode != null)
s += "detail: " + lodNode.detailLevel;
/*
if(hasChildren())
{
@@ -62,4 +62,11 @@ public class RegionPos
z = Math.floorDiv(pos.z, LodUtil.REGION_WIDTH_IN_CHUNKS);
}
@Override
public String toString()
{
return "(" + x + "," + z + ")";
}
}