diff --git a/engine/src/core/com/jme3/math/Quaternion.java b/engine/src/core/com/jme3/math/Quaternion.java index 48e483945..c1c6f0ae3 100644 --- a/engine/src/core/com/jme3/math/Quaternion.java +++ b/engine/src/core/com/jme3/math/Quaternion.java @@ -233,7 +233,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl /** * fromAngles builds a Quaternion from the Euler rotation - * angles (x,y,z) aka (pitch, yaw, rall)). Note that we are applying in order: roll, yaw, pitch but + * angles (x,y,z) aka (pitch, yaw, rall)). Note that we are applying in order: (y, z, x) aka (yaw, roll, pitch) but * we've ordered them in x, y, and z for convenience. * @see http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm * @@ -489,7 +489,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl /** * getRotationColumn returns one of three columns specified * by the parameter. This column is returned as a Vector3f - * object. The value is retrieved as if this quaternion was first normalized. + * object. The value is retrieved as if this quaternion was first normalized. * * @param i * the column to retrieve. Must be between 0 and 2. @@ -585,7 +585,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl /** * toAngleAxis sets a given angle and axis to that * represented by the current quaternion. The values are stored as - * following: The axis is provided as a parameter and built by the method, + * follows: The axis is provided as a parameter and built by the method, * the angle is returned as a float. * * @param axisStore @@ -1095,7 +1095,8 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl // } /** - * normalize normalizes the current Quaternion + * normalize normalizes the current Quaternion. + * The result is stored internally. */ public Quaternion normalizeLocal() { float n = FastMath.invSqrt(norm()); @@ -1128,7 +1129,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl /** * inverse calculates the inverse of this quaternion and * returns this quaternion after it is calculated. If this quaternion does - * not have an inverse (if it's norma is 0 or less), nothing happens + * not have an inverse (if it's normal is 0 or less), nothing happens * * @return the inverse of this quaternion */ @@ -1158,7 +1159,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl /** * * toString creates the string representation of this - * Quaternion. The values of the quaternion are displace (x, + * Quaternion. The values of the quaternion are displaced (x, * y, z, w), in the following manner:
* (x, y, z, w) *