/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{acosClamped as t}from"../../core/mathUtils.js";import{dot as r,length as o,normalize as n,cross as c,scale as i}from"../../core/libs/gl-matrix-2/math/vec3.js";import{create as e}from"../../core/libs/gl-matrix-2/factories/vec3f64.js";function s(t,o,n){const c=r(t,o)/r(t,t);return i(n,t,c)}function m(t,n){return r(t,n)/o(t)}function f(n,c){const i=r(n,c)/(o(n)*o(c));return-t(i)}function u(o,i,e){n(a,o),n(l,i);const s=r(a,l),m=t(s),f=c(a,a,l);return r(f,e)<0?2*Math.PI-m:m}const a=e(),l=e();export{f as angle,u as angleAroundAxis,s as projectPoint,m as projectPointSignedLength};
