/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.25/esri/copyright.txt for details. */ import{mathLogger as e}from"../geometry/support/buffer/math/common.js";function t(t,r,f){if(t.count!==r.count)return void e.error("source and destination buffers need to have the same number of elements");const o=t.count,n=f[0],u=f[1],d=f[2],s=f[4],c=f[5],i=f[6],a=f[8],p=f[9],y=f[10],B=f[12],m=f[13],l=f[14],S=t.typedBuffer,h=t.typedBufferStride,b=r.typedBuffer,M=r.typedBufferStride;for(let e=0;e0){const t=1/Math.sqrt(i);f[e]=t*r,f[e+1]=t*s,f[e+2]=t*c}}}function n(e,t,r){const f=Math.min(e.count,t.count),o=e.typedBuffer,n=e.typedBufferStride,u=t.typedBuffer,d=t.typedBufferStride;for(let s=0;s>r,o[e+1]=u[t+1]>>r,o[e+2]=u[t+2]>>r}}const u=Object.freeze(Object.defineProperty({__proto__:null,transformMat4:t,transformMat3:r,scale:f,normalize:o,shiftRight:n},Symbol.toStringTag,{value:"Module"}));export{r as a,n as b,o as n,f as s,t,u as v};