Add toString methods
This commit is contained in:
@@ -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 + ")";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user