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