diff --git a/jme3-core/src/main/java/com/jme3/math/Matrix3f.java b/jme3-core/src/main/java/com/jme3/math/Matrix3f.java index 1a6d068ce..222789f89 100644 --- a/jme3-core/src/main/java/com/jme3/math/Matrix3f.java +++ b/jme3-core/src/main/java/com/jme3/math/Matrix3f.java @@ -1152,12 +1152,16 @@ public final class Matrix3f implements Savable, Cloneable, java.io.Serializable } /** - * toString returns the string representation of this object. - * It is in a format of a 3x3 matrix. For example, an identity matrix would - * be represented by the following string. com.jme.math.Matrix3f
[
- * 1.0 0.0 0.0
- * 0.0 1.0 0.0
- * 0.0 0.0 1.0
]
+ * toString returns a string representation of this matrix. + * For example, an identity matrix would be represented by: + *
+     * Matrix3f
+     * [
+     *  1.0  0.0  0.0
+     *  0.0  1.0  0.0
+     *  0.0  0.0  1.0
+     * ]
+     * 
      *
      * @return the string representation of this object.
      */
diff --git a/jme3-core/src/main/java/com/jme3/math/Matrix4f.java b/jme3-core/src/main/java/com/jme3/math/Matrix4f.java
index 71fb6d052..54c948222 100644
--- a/jme3-core/src/main/java/com/jme3/math/Matrix4f.java
+++ b/jme3-core/src/main/java/com/jme3/math/Matrix4f.java
@@ -2231,13 +2231,17 @@ public final class Matrix4f implements Savable, Cloneable, java.io.Serializable
     }
 
     /**
-     * toString returns the string representation of this object.
-     * It is in a format of a 4x4 matrix. For example, an identity matrix would
-     * be represented by the following string. com.jme.math.Matrix3f 
[
- * 1.0 0.0 0.0 0.0
- * 0.0 1.0 0.0 0.0
- * 0.0 0.0 1.0 0.0
- * 0.0 0.0 0.0 1.0
]
+ * toString returns a string representation of this matrix. + * For example, an identity matrix would be represented by: + *
+     * Matrix4f
+     * [
+     *  1.0  0.0  0.0  0.0
+     *  0.0  1.0  0.0  0.0
+     *  0.0  0.0  1.0  0.0
+     *  0.0  0.0  0.0  1.0
+     * ]
+     * 
* * @return the string representation of this object. */ diff --git a/jme3-core/src/main/java/com/jme3/math/Plane.java b/jme3-core/src/main/java/com/jme3/math/Plane.java index 2074a5e67..cf6f37054 100644 --- a/jme3-core/src/main/java/com/jme3/math/Plane.java +++ b/jme3-core/src/main/java/com/jme3/math/Plane.java @@ -280,11 +280,10 @@ public class Plane implements Savable, Cloneable, java.io.Serializable { } /** - * toString returns a string that represents the string - * representation of this plane. It represents the normal as a - * Vector3f object, so the format is the following: - * com.jme.math.Plane [Normal: org.jme.math.Vector3f [X=XX.XXXX, Y=YY.YYYY, - * Z=ZZ.ZZZZ] - Constant: CC.CCCCC] + * toString returns a string representation of this plane. + * It represents the normal as a Vector3f, so the format is: + * + * Plane [Normal: (X.XXXX, Y.YYYY, Z.ZZZZ) - Constant: C.CCCC] * * @return the string representation of this plane. */ diff --git a/jme3-core/src/main/java/com/jme3/math/Vector2f.java b/jme3-core/src/main/java/com/jme3/math/Vector2f.java index a1dec58d3..3a5b4bf8c 100644 --- a/jme3-core/src/main/java/com/jme3/math/Vector2f.java +++ b/jme3-core/src/main/java/com/jme3/math/Vector2f.java @@ -724,9 +724,10 @@ public final class Vector2f implements Savable, Cloneable, java.io.Serializable } /** - * toString returns the string representation of this vector - * object. The format of the string is such: com.jme.math.Vector2f - * [X=XX.XXXX, Y=YY.YYYY] + * toString returns a string representation of this vector. + * The format is: + * + * (XX.XXXX, YY.YYYY) * * @return the string representation of this vector. */ diff --git a/jme3-core/src/main/java/com/jme3/math/Vector3f.java b/jme3-core/src/main/java/com/jme3/math/Vector3f.java index 0315ddd2b..9e015053d 100644 --- a/jme3-core/src/main/java/com/jme3/math/Vector3f.java +++ b/jme3-core/src/main/java/com/jme3/math/Vector3f.java @@ -1015,10 +1015,10 @@ public final class Vector3f implements Savable, Cloneable, java.io.Serializable } /** - * toString returns the string representation of this vector. + * toString returns a string representation of this vector. * The format is: * - * org.jme.math.Vector3f [X=XX.XXXX, Y=YY.YYYY, Z=ZZ.ZZZZ] + * (XX.XXXX, YY.YYYY, ZZ.ZZZZ) * * @return the string representation of this vector. */