Fixing the angle ordering in the fromAngles() javadoc.

master
pspeed42 5 years ago
parent acc5cfa995
commit d29d8f5100
  1. 2
      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>

Loading…
Cancel
Save