diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2d.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2d.java index b2835a0..b30c771 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2d.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2d.java @@ -286,10 +286,7 @@ public int hashCode() { @Override public String toString() { - return "Vector2d{" + - "x=" + this.x + - ", y=" + this.y + - '}'; + return String.format("%f, %f", this.x, this.y); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2f.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2f.java index 6a82079..0436dc8 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2f.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2f.java @@ -286,10 +286,7 @@ public int hashCode() { @Override public String toString() { - return "Vector2f{" + - "x=" + this.x + - ", y=" + this.y + - '}'; + return String.format("%f, %f", this.x, this.y); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2i.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2i.java index 4abfab7..f14bcbb 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2i.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec2i.java @@ -269,10 +269,7 @@ public int hashCode() { @Override public String toString() { - return "Vector2i{" + - "x=" + this.x + - ", y=" + this.y + - '}'; + return String.format("%d, %d", this.x, this.y); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3d.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3d.java index 227ba37..97a4b09 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3d.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3d.java @@ -338,11 +338,7 @@ public int hashCode() { @Override public String toString() { - return "Vector4i{" + - "x=" + this.x + - ", y=" + this.y + - ", z=" + this.z + - '}'; + return String.format("%f, %f, %f", this.x, this.y, this.z); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3f.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3f.java index 34e05d0..45a17a9 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3f.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3f.java @@ -338,11 +338,7 @@ public int hashCode() { @Override public String toString() { - return "Vector4i{" + - "x=" + this.x + - ", y=" + this.y + - ", z=" + this.z + - '}'; + return String.format("%f, %f, %f", this.x, this.y, this.z); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3i.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3i.java index 4306359..bb6685c 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3i.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec3i.java @@ -314,11 +314,7 @@ public int hashCode() { @Override public String toString() { - return "Vector4i{" + - "x=" + this.x + - ", y=" + this.y + - ", z=" + this.z + - '}'; + return String.format("%d, %d, %d", this.x, this.y, this.z); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4d.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4d.java index d89bcd8..22b4db0 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4d.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4d.java @@ -377,12 +377,7 @@ public int hashCode() { @Override public String toString() { - return "Vector4i{" + - "x=" + this.x + - ", y=" + this.y + - ", z=" + this.z + - ", w=" + this.w + - '}'; + return String.format("%f, %f, %f, %f", this.x, this.y, this.z, this.w); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4f.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4f.java index 6ff9138..52b6bb6 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4f.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4f.java @@ -376,12 +376,7 @@ public int hashCode() { @Override public String toString() { - return "Vector4i{" + - "x=" + this.x + - ", y=" + this.y + - ", z=" + this.z + - ", w=" + this.w + - '}'; + return String.format("%f, %f, %f, %f", this.x, this.y, this.z, this.w); } @Override diff --git a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4i.java b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4i.java index 7676dc6..d64898f 100644 --- a/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4i.java +++ b/commons-v0/src/main/java/com/ultreon/libs/commons/v0/vector/Vec4i.java @@ -351,12 +351,7 @@ public int hashCode() { @Override public String toString() { - return "Vector4i{" + - "x=" + this.x + - ", y=" + this.y + - ", z=" + this.z + - ", w=" + this.w + - '}'; + return String.format("%d, %d, %d, %d", this.x, this.y, this.z, this.w); } @Override