Skip to content

Commit

Permalink
Fix order param type in quat.fromEuler
Browse files Browse the repository at this point in the history
The 'zyx' order was duplicated and 'xzy' was missing.
  • Loading branch information
shannon authored and toji committed Apr 14, 2024
1 parent 2534c9d commit df5278f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit df5278f

Please sign in to comment.