Javadoc fixes from wezrule: http://jmonkeyengine.org/groups/documentation-jme3/forum/topic/diff-for-quaternion-few-spelling-mistakes-and-inconsistencies/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9414 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
027d448b7d
commit
1c1a6a0421
@ -233,7 +233,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>fromAngles</code> builds a Quaternion from the Euler rotation
|
* <code>fromAngles</code> 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.
|
* we've ordered them in x, y, and z for convenience.
|
||||||
* @see <a href="http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm">http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm</a>
|
* @see <a href="http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm">http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm</a>
|
||||||
*
|
*
|
||||||
@ -585,7 +585,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
|
|||||||
/**
|
/**
|
||||||
* <code>toAngleAxis</code> sets a given angle and axis to that
|
* <code>toAngleAxis</code> sets a given angle and axis to that
|
||||||
* represented by the current quaternion. The values are stored as
|
* 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.
|
* the angle is returned as a float.
|
||||||
*
|
*
|
||||||
* @param axisStore
|
* @param axisStore
|
||||||
@ -1095,7 +1095,8 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>normalize</code> normalizes the current <code>Quaternion</code>
|
* <code>normalize</code> normalizes the current <code>Quaternion</code>.
|
||||||
|
* The result is stored internally.
|
||||||
*/
|
*/
|
||||||
public Quaternion normalizeLocal() {
|
public Quaternion normalizeLocal() {
|
||||||
float n = FastMath.invSqrt(norm());
|
float n = FastMath.invSqrt(norm());
|
||||||
@ -1128,7 +1129,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
|
|||||||
/**
|
/**
|
||||||
* <code>inverse</code> calculates the inverse of this quaternion and
|
* <code>inverse</code> calculates the inverse of this quaternion and
|
||||||
* returns this quaternion after it is calculated. If this quaternion does
|
* 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
|
* @return the inverse of this quaternion
|
||||||
*/
|
*/
|
||||||
@ -1158,7 +1159,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* <code>toString</code> creates the string representation of this
|
* <code>toString</code> creates the string representation of this
|
||||||
* <code>Quaternion</code>. The values of the quaternion are displace (x,
|
* <code>Quaternion</code>. The values of the quaternion are displaced (x,
|
||||||
* y, z, w), in the following manner: <br>
|
* y, z, w), in the following manner: <br>
|
||||||
* (x, y, z, w)
|
* (x, y, z, w)
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user