Fixed the mix up in fromAngles method's javadoc in Quaternion, pitch is Attitude and roll is Bank

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9273 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent f156b31ce1
commit a8bfb54b02
  1. 4
      engine/src/core/com/jme3/math/Quaternion.java

@ -238,13 +238,13 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
* @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>
*
* @param xAngle
* the Euler pitch of rotation (in radians). (aka Bank, often rot
* the Euler pitch of rotation (in radians). (aka Attitude, often rot
* around x)
* @param yAngle
* the Euler yaw of rotation (in radians). (aka Heading, often
* rot around y)
* @param zAngle
* the Euler roll of rotation (in radians). (aka Attitude, often
* the Euler roll of rotation (in radians). (aka Bank, often
* rot around z)
*/
public Quaternion fromAngles(float xAngle, float yAngle, float zAngle) {

Loading…
Cancel
Save