Преглед на файлове

Fixing the angle ordering in the fromAngles() javadoc.

pspeed42 преди 5 години
родител
ревизия
d29d8f5100
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      jme3-core/src/main/java/com/jme3/math/Quaternion.java

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

@@ -263,7 +263,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl
     /**
      * <code>fromAngles</code> builds a Quaternion from the Euler rotation
      * angles (x,y,z) aka (pitch, yaw, roll)).
-     * Note that we are applying in order: (y, z, x) aka (yaw, roll, pitch)
+     * Note that we are applying in order: (y, x, z) aka (yaw, pitch, roll)
      * but 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>