From df5278f53512882a4d36ffb0e5743a4041646183 Mon Sep 17 00:00:00 2001 From: Shannon Poole <1154610+shannon@users.noreply.github.com> Date: Wed, 18 Oct 2023 06:40:29 -0400 Subject: [PATCH] Fix order param type in quat.fromEuler The 'zyx' order was duplicated and 'xzy' was missing. --- src/quat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quat.js b/src/quat.js index 6d348689..6f917a1c 100644 --- a/src/quat.js +++ b/src/quat.js @@ -453,7 +453,7 @@ export function fromMat3(out, m) { * @param {Number} x Angle to rotate around X axis in degrees. * @param {Number} y Angle to rotate around Y axis in degrees. * @param {Number} z Angle to rotate around Z axis in degrees. - * @param {'zyx'|'xyz'|'yxz'|'yzx'|'zxy'|'zyx'} order Intrinsic order for conversion, default is zyx. + * @param {'xyz'|'xzy'|'yxz'|'yzx'|'zxy'|'zyx'} order Intrinsic order for conversion, default is zyx. * @returns {quat} out * @function */