/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{acosClamped as t}from"../../core/mathUtils.js";import{g as r,b as n,n as o,f as s,j as c}from"../../chunks/vec32.js";import{create as i}from"../../core/libs/gl-matrix-2/factories/vec3f64.js";function e(t,n,o){const s=r(t,n)/r(t,t);return c(o,t,s)}function f(t,o){return r(t,o)/n(t)}function a(o,s){const c=r(o,s)/(n(o)*n(s));return-t(c)}function u(n,c,i){o(m,n),o(j,c);const e=r(m,j),f=t(e),a=s(m,m,j);return r(a,i)<0?2*Math.PI-f:f}const m=i(),j=i();export{a as angle,u as angleAroundAxis,e as projectPoint,f as projectPointSignedLength};
