Improved logs formating for vectors

This commit is contained in:
LemADEC 2016-07-10 17:15:03 +02:00
parent 20c287d365
commit e067a3d8f3

View file

@ -665,6 +665,6 @@ public class Vector3 implements Cloneable {
@Override
public String toString() {
return "Vector3 [" + x + "," + y + "," + z + "]";
return String.format("Vector3 [%.3f %.3f %.3f]", x, y, z);
}
}