Skip to content

Commit 0841f3e

Browse files
committed
Matrix3f: a few javadoc tweaks
1 parent efe5ba6 commit 0841f3e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jme3-core/src/main/java/com/jme3/math/Matrix3f.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public void fillFloatArray(float[] f, boolean columnMajor) {
525525
*
526526
* @param i which column to set (0, 1, or 2)
527527
* @param column the desired element values (unaffected) or null for none
528-
* @return the current instance (for chaining)
528+
* @return the (modified) current instance (for chaining)
529529
* @throws IllegalArgumentException if {@code i} isn't 0, 1, or 2
530530
*/
531531
public Matrix3f setColumn(int i, Vector3f column) {
@@ -561,7 +561,7 @@ public Matrix3f setColumn(int i, Vector3f column) {
561561
*
562562
* @param i which row to set (0, 1, or 2)
563563
* @param row the desired element values (unaffected) or null for none
564-
* @return the current instance (for chaining)
564+
* @return the (modified) current instance (for chaining)
565565
* @throws IllegalArgumentException if {@code i} isn't 0, 1, or 2
566566
*/
567567
public Matrix3f setRow(int i, Vector3f row) {
@@ -750,7 +750,7 @@ public Matrix3f set(float[] matrix, boolean rowMajor) {
750750
* Configures as a rotation matrix equivalent to the argument.
751751
*
752752
* @param quaternion the input quaternion (not null, unaffected)
753-
* @return the current instance (for chaining)
753+
* @return the (modified) current instance (for chaining)
754754
*/
755755
public Matrix3f set(Quaternion quaternion) {
756756
return quaternion.toRotationMatrix(this);
@@ -1158,7 +1158,7 @@ public Matrix3f zero() {
11581158
*
11591159
* <p>TODO deprecate in favor of transposeLocal()
11601160
*
1161-
* @return this object for chaining.
1161+
* @return the (modified) current instance (for chaining)
11621162
*/
11631163
public Matrix3f transpose() {
11641164
return transposeLocal();
@@ -1176,7 +1176,7 @@ public Matrix3f transposeNew() {
11761176
}
11771177

11781178
/**
1179-
* Returns a string representation. The current instance is unaffected. For
1179+
* Returns a string representation of the matrix, which is unaffected. For
11801180
* example, an identity matrix would be represented by:
11811181
* <pre>
11821182
* Matrix3f
@@ -1187,7 +1187,7 @@ public Matrix3f transposeNew() {
11871187
* ]
11881188
* </pre>
11891189
*
1190-
* @return the string representation of this object.
1190+
* @return the string representation
11911191
*/
11921192
@Override
11931193
public String toString() {

0 commit comments

Comments
 (0)