chunk-XBH7TGC2.js 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // node_modules/@arcgis/core/chunks/mat2df32.js
  2. function n() {
  3. const n2 = new Float32Array(6);
  4. return n2[0] = 1, n2[3] = 1, n2;
  5. }
  6. function t(n2) {
  7. const t2 = new Float32Array(6);
  8. return t2[0] = n2[0], t2[1] = n2[1], t2[2] = n2[2], t2[3] = n2[3], t2[4] = n2[4], t2[5] = n2[5], t2;
  9. }
  10. function r(n2, t2, r2, e2, o2, a2) {
  11. const c2 = new Float32Array(6);
  12. return c2[0] = n2, c2[1] = t2, c2[2] = r2, c2[3] = e2, c2[4] = o2, c2[5] = a2, c2;
  13. }
  14. function e(n2, t2) {
  15. return new Float32Array(n2, t2, 6);
  16. }
  17. function o(n2, t2, r2, e2) {
  18. const o2 = t2[e2], a2 = t2[e2 + 1];
  19. n2[e2] = r2[0] * o2 + r2[2] * a2 + r2[4], n2[e2 + 1] = r2[1] * o2 + r2[3] * a2 + r2[5];
  20. }
  21. function a(n2, t2, r2, e2 = 0, a2 = 0, c2 = 2) {
  22. const s = a2 || t2.length / c2;
  23. for (let u = e2; u < s; u++) {
  24. o(n2, t2, r2, u * c2);
  25. }
  26. }
  27. var c = Object.freeze(Object.defineProperty({ __proto__: null, create: n, clone: t, fromValues: r, createView: e, transform: o, transformMany: a }, Symbol.toStringTag, { value: "Module" }));
  28. export {
  29. n,
  30. a
  31. };
  32. //# sourceMappingURL=chunk-XBH7TGC2.js.map