From d29d8f510067e8e4b9fd4146a6ea62466dbde5b6 Mon Sep 17 00:00:00 2001 From: pspeed42 Date: Sat, 23 May 2020 17:39:07 -0400 Subject: [PATCH] Fixing the angle ordering in the fromAngles() javadoc. --- jme3-core/src/main/java/com/jme3/math/Quaternion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/math/Quaternion.java b/jme3-core/src/main/java/com/jme3/math/Quaternion.java index 623ca9613..40936652c 100644 --- a/jme3-core/src/main/java/com/jme3/math/Quaternion.java +++ b/jme3-core/src/main/java/com/jme3/math/Quaternion.java @@ -263,7 +263,7 @@ public final class Quaternion implements Savable, Cloneable, java.io.Serializabl /** * fromAngles 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 http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm