Improve toString

This commit is contained in:
James Seibel
2020-09-28 20:33:08 -05:00
parent 73a038d1b5
commit ccb5ab9458
@@ -409,26 +409,26 @@ public class LodChunk
{
String s = "";
s += "x: " + x + " z: " + z + "\n";
s += "x: " + x + " z: " + z + "\t";
s += "top: ";
for(int i = 0; i < top.length; i++)
{
s += top[i] + " ";
}
s += "\n";
s += "\t";
s += "bottom: ";
for(int i = 0; i < bottom.length; i++)
{
s += bottom[i] + " ";
}
s += "\n";
s += "\t";
s += "colors ";
for(int i = 0; i < colors.length; i++)
{
s += colors[i].getRed() + ", " + colors[i].getGreen() + ", " + colors[i].getBlue() + " ";
s += "(" + colors[i].getRed() + ", " + colors[i].getGreen() + ", " + colors[i].getBlue() + "), ";
}
return s;