Skip to content

Commit 7c5fe46

Browse files
committed
Quaternion: correct 2 old mistakes in the javadoc
1 parent bbfd34c commit 7c5fe46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ public Vector3f mult(Vector3f v, Vector3f store) {
11511151
* result is returned as a new quaternion.
11521152
*
11531153
* @param scalar
1154-
* the quaternion to multiply this quaternion by.
1154+
* the scalar to multiply this quaternion by.
11551155
* @return the new quaternion.
11561156
*/
11571157
public Quaternion mult(float scalar) {
@@ -1163,7 +1163,7 @@ public Quaternion mult(float scalar) {
11631163
* result is stored locally.
11641164
*
11651165
* @param scalar
1166-
* the quaternion to multiply this quaternion by.
1166+
* the scalar to multiply this quaternion by.
11671167
* @return this.
11681168
*/
11691169
public Quaternion multLocal(float scalar) {

0 commit comments

Comments
 (0)