Explorar el Código

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
rem..om hace 13 años
padre
commit
a8bfb54b02
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      engine/src/core/com/jme3/math/Quaternion.java

+ 2 - 2
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) {