/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../core/mathUtils","../../chunks/quat","../../chunks/quatf64","../../chunks/vec3"],(function(n,e,t,r,u){"use strict";function o(n=x){return[n[0],n[1],n[2],n[3]]}function c(n,e,t,r){return a(n,e,t,r,k)}function i(n,e){return a(n[0],n[1],n[2],e,k)}function s(n,e=o()){return a(n[0],n[1],n[2],n[3],e)}function a(n,e,t,r,u=o()){return u[0]=n,u[1]=e,u[2]=t,u[3]=r,u}function f(n,e,t=o()){return u.copy(A(t),n),t[3]=e,t}function l(n,e,t=o()){return u.cross(t,n,e),u.normalize(t,t),t[3]=-u.angle(n,e),t}function g(n,r,u=o()){return t.setAxisAngle(h,A(n),m(n)),t.setAxisAngle(y,A(r),m(r)),t.multiply(h,y,h),p(u,e.rad2deg(t.getAxisAngle(A(u),h)))}function A(n){return n}function d(n){return n[3]}function m(n){return e.deg2rad(n[3])}function p(n,e){return n[3]=e,n}const x=[0,0,1,0],h=r.create(),y=r.create(),k=o();n.UP=x,n.angle=d,n.angleRad=m,n.axis=A,n.compose=g,n.copy=s,n.create=o,n.fromAxisAndAngle=f,n.fromPoints=l,n.fromValues=a,n.setAngle=p,n.wrap=c,n.wrapAxisAngle=i,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
