/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import{v as t,a as o,q as n,h as s,m as c}from"./p-Tvs4yxd5.js";function a(t){return t.reduce(((t,o)=>[...t,o.x,o.y]),[])}function i(n){const{position:s,rotation:c,scale:a}=n;const i=t.create(o.toRadians(c.x),o.toRadians(c.y),o.toRadians(c.z));return{position:s,rotation:i,scale:a}}function r(n){const{position:s,rotation:c,scale:a}=n;const i=t.create(o.toDegrees(c.x),o.toDegrees(c.y),o.toDegrees(c.z));return{position:s,rotation:i,scale:a}}function e(o){const{position:a,rotation:i,scale:r}=o;const e=n.fromEuler(s.create(i));const u=t.create(r,r,r);return c.makeTRS(a,e,u)}function u(o){const n=t.fromMatrixPosition(o);const c=s.fromRotationMatrix(o);const{x:a}=t.fromMatrixScale(o);return{position:n,rotation:c,scale:a}}function f(t,o){const n=e(i(t));const s=c.multiply(o,n);return r(u(s))}function p(t,o){const n=e(i(t));const s=c.multiply(c.invert(o),n);return r(u(s))}export{r as a,e as b,u as c,f as d,p as e,a as f,i as t};
//# sourceMappingURL=p-B2SMWIov.js.map