@roomle/web-sdk 3.0.0-alpha.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{BufferGeometry-hDR_qVnf.mjs → BufferGeometry-1iuQ78oW.mjs} +10 -10
- package/lib/{BufferGeometry-hDR_qVnf.mjs.map → BufferGeometry-1iuQ78oW.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-BNq_1jiu.mjs → GLTFExporter-tzMbpqEK.mjs} +11 -11
- package/lib/{GLTFExporter-BNq_1jiu.mjs.map → GLTFExporter-tzMbpqEK.mjs.map} +1 -1
- package/lib/{PointLightHelper-BSVmJ40B.mjs → PointLightHelper-CR5LYLBm.mjs} +3 -3
- package/lib/{PointLightHelper-BSVmJ40B.mjs.map → PointLightHelper-CR5LYLBm.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-Ba5CDcvu.mjs → SpotLightHelper-BStLCKGl.mjs} +3 -3
- package/lib/{SpotLightHelper-Ba5CDcvu.mjs.map → SpotLightHelper-BStLCKGl.mjs.map} +1 -1
- package/lib/{USDZExporter-BXUQSlKH.mjs → USDZExporter-BFXLW8Hg.mjs} +8 -8
- package/lib/{USDZExporter-BXUQSlKH.mjs.map → USDZExporter-BFXLW8Hg.mjs.map} +1 -1
- package/lib/{banana-for-scale-DSKC3F9W.mjs → banana-for-scale-U9sL-zUY.mjs} +2 -2
- package/lib/{banana-for-scale-DSKC3F9W.mjs.map → banana-for-scale-U9sL-zUY.mjs.map} +1 -1
- package/lib/{component-dimensioning-CDX04DA0.mjs → component-dimensioning-4PDhO9rn.mjs} +26 -26
- package/lib/{component-dimensioning-CDX04DA0.mjs.map → component-dimensioning-4PDhO9rn.mjs.map} +1 -1
- package/lib/{continuous-drawing-helper-Djeonu9R.mjs → continuous-drawing-helper-oWtcXAY3.mjs} +2 -2
- package/lib/{continuous-drawing-helper-Djeonu9R.mjs.map → continuous-drawing-helper-oWtcXAY3.mjs.map} +1 -1
- package/lib/{homag-intelligence-CngVZKGu.mjs → homag-intelligence-BNJeagKf.mjs} +193 -141
- package/lib/homag-intelligence-BNJeagKf.mjs.map +1 -0
- package/lib/{imos-ix-poc-export-helper-DcvR6WHi.mjs → imos-ix-poc-export-helper-ugXGKl6D.mjs} +2 -2
- package/lib/{imos-ix-poc-export-helper-DcvR6WHi.mjs.map → imos-ix-poc-export-helper-ugXGKl6D.mjs.map} +1 -1
- package/lib/{index-1AA3oYQf.mjs → index-CZA-Di2j.mjs} +4565 -4561
- package/lib/{index-1AA3oYQf.mjs.map → index-CZA-Di2j.mjs.map} +1 -1
- package/lib/{material-viewer-CjpNPN7U.mjs → material-viewer-O6WyPhS0.mjs} +2 -2
- package/lib/{material-viewer-CjpNPN7U.mjs.map → material-viewer-O6WyPhS0.mjs.map} +1 -1
- package/lib/roomle-sdk.d.ts +14 -14
- package/lib/roomle-sdk.js +3 -3
- package/lib/static/roomle-core-hsc/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/RoomleServiceCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/RoomleToolsCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/wasm_modern/RoomleServiceCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-YfdBtF08.mjs → stats-helper-qGkUMFmZ.mjs} +2 -2
- package/lib/{stats-helper-YfdBtF08.mjs.map → stats-helper-qGkUMFmZ.mjs.map} +1 -1
- package/lib/{three.webgpu-BEGHg51m.mjs → three.webgpu-DX-lGAGI.mjs} +3 -3
- package/lib/{three.webgpu-BEGHg51m.mjs.map → three.webgpu-DX-lGAGI.mjs.map} +1 -1
- package/lib/{tools-core-Bnq_egvf.mjs → tools-core-6dGDs5pX.mjs} +2 -2
- package/lib/{tools-core-Bnq_egvf.mjs.map → tools-core-6dGDs5pX.mjs.map} +1 -1
- package/package.json +1 -1
- package/lib/homag-intelligence-CngVZKGu.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { X as d, a4 as dt, a5 as E, a6 as ot, a7 as tt, a8 as pt, a9 as Rt, aa as X, ab as it, ac as Dt, ad as Ct, ae as Tt, af as ft, a3 as gt, ag as mt, ah as xt, ai as bt, aj as yt, ak as Ft, al as O, am as St, an as vt, a1 as j, ao as J, ap as S, Z as zt, W as Nt, aq as ht, Y as Ot } from "./index-CZA-Di2j.mjs";
|
|
2
2
|
const D = /* @__PURE__ */ new d(), et = /* @__PURE__ */ new d(), G = /* @__PURE__ */ new d(), v = /* @__PURE__ */ new d(), st = /* @__PURE__ */ new d(), V = /* @__PURE__ */ new d(), nt = /* @__PURE__ */ new d();
|
|
3
3
|
class _t {
|
|
4
4
|
/**
|
|
@@ -607,7 +607,7 @@ class lt {
|
|
|
607
607
|
* @return {Color} A reference to this color.
|
|
608
608
|
*/
|
|
609
609
|
setHSL(t, e, i, s = k.workingColorSpace) {
|
|
610
|
-
if (t = Dt(t, 1), e =
|
|
610
|
+
if (t = Dt(t, 1), e = X(e, 0, 1), i = X(i, 0, 1), e === 0)
|
|
611
611
|
this.r = this.g = this.b = i;
|
|
612
612
|
else {
|
|
613
613
|
const n = i <= 0.5 ? i * (1 + e) : i + e - i * e, r = 2 * i - n;
|
|
@@ -757,7 +757,7 @@ class lt {
|
|
|
757
757
|
* @return {number} The hexadecimal value.
|
|
758
758
|
*/
|
|
759
759
|
getHex(t = E) {
|
|
760
|
-
return k.workingToColorSpace(F.copy(this), t), Math.round(
|
|
760
|
+
return k.workingToColorSpace(F.copy(this), t), Math.round(X(F.r * 255, 0, 255)) * 65536 + Math.round(X(F.g * 255, 0, 255)) * 256 + Math.round(X(F.b * 255, 0, 255));
|
|
761
761
|
}
|
|
762
762
|
/**
|
|
763
763
|
* Returns the hexadecimal value of this color as a string (for example, 'FFFFFF').
|
|
@@ -1495,7 +1495,7 @@ class q {
|
|
|
1495
1495
|
return this.name !== "" && (t.name = this.name), this.usage !== St && (t.usage = this.usage), t;
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
class
|
|
1498
|
+
class Zt extends q {
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Constructs a new buffer attribute.
|
|
1501
1501
|
*
|
|
@@ -1507,7 +1507,7 @@ class Xt extends q {
|
|
|
1507
1507
|
super(new Uint16Array(t), e, i);
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
class
|
|
1510
|
+
class Xt extends q {
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Constructs a new buffer attribute.
|
|
1513
1513
|
*
|
|
@@ -1555,7 +1555,7 @@ class Et extends Ct {
|
|
|
1555
1555
|
* @return {BufferGeometry} A reference to this instance.
|
|
1556
1556
|
*/
|
|
1557
1557
|
setIndex(t) {
|
|
1558
|
-
return Array.isArray(t) ? this.index = new (It(t) ?
|
|
1558
|
+
return Array.isArray(t) ? this.index = new (It(t) ? Xt : Zt)(t, 1) : this.index = t, this;
|
|
1559
1559
|
}
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Sets the given indirect attribute to this geometry.
|
|
@@ -1872,13 +1872,13 @@ class Et extends Ct {
|
|
|
1872
1872
|
t.getX(T + 2)
|
|
1873
1873
|
);
|
|
1874
1874
|
}
|
|
1875
|
-
const
|
|
1875
|
+
const Z = new d(), ut = new d(), _ = new d(), ct = new d();
|
|
1876
1876
|
function $(g) {
|
|
1877
1877
|
_.fromBufferAttribute(s, g), ct.copy(_);
|
|
1878
1878
|
const M = o[g];
|
|
1879
|
-
|
|
1879
|
+
Z.copy(M), Z.sub(_.multiplyScalar(_.dot(M))).normalize(), ut.crossVectors(ct, M);
|
|
1880
1880
|
const C = ut.dot(h[g]) < 0 ? -1 : 1;
|
|
1881
|
-
r.setXYZW(g,
|
|
1881
|
+
r.setXYZW(g, Z.x, Z.y, Z.z, C);
|
|
1882
1882
|
}
|
|
1883
1883
|
for (let g = 0, M = N.length; g < M; ++g) {
|
|
1884
1884
|
const w = N[g], C = w.start, Q = w.count;
|
|
@@ -2069,4 +2069,4 @@ export {
|
|
|
2069
2069
|
Gt as M,
|
|
2070
2070
|
_t as R
|
|
2071
2071
|
};
|
|
2072
|
-
//# sourceMappingURL=BufferGeometry-
|
|
2072
|
+
//# sourceMappingURL=BufferGeometry-1iuQ78oW.mjs.map
|