@thatopen/components 2.0.0-alpha.5 → 2.0.0-alpha.6

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/dist/index.mjs CHANGED
@@ -1765,6 +1765,35 @@ class D {
1765
1765
  this.handlers.length = 0;
1766
1766
  }
1767
1767
  }
1768
+ class tr {
1769
+ constructor() {
1770
+ /** Triggers all the callbacks assigned to this event. */
1771
+ I(this, "trigger", async (s) => {
1772
+ const t = this.handlers.slice(0);
1773
+ for (const e of t)
1774
+ await e(s);
1775
+ });
1776
+ I(this, "handlers", []);
1777
+ }
1778
+ /**
1779
+ * Add a callback to this event instance.
1780
+ * @param handler - the callback to be added to this event.
1781
+ */
1782
+ add(s) {
1783
+ this.handlers.push(s);
1784
+ }
1785
+ /**
1786
+ * Removes a callback from this event instance.
1787
+ * @param handler - the callback to be removed from this event.
1788
+ */
1789
+ remove(s) {
1790
+ this.handlers = this.handlers.filter((t) => t !== s);
1791
+ }
1792
+ /** Gets rid of all the suscribed events. */
1793
+ reset() {
1794
+ this.handlers.length = 0;
1795
+ }
1796
+ }
1768
1797
  class Ri {
1769
1798
  constructor(s) {
1770
1799
  /** Whether is component is {@link Disposable}. */
@@ -1793,14 +1822,14 @@ class Ai extends Ri {
1793
1822
  });
1794
1823
  }
1795
1824
  }
1796
- class tr extends Ai {
1825
+ class er extends Ai {
1797
1826
  constructor() {
1798
1827
  super(...arguments);
1799
1828
  /** Whether is instance is {@link CameraControllable}. */
1800
1829
  I(this, "hasCameraControls", () => "controls" in this);
1801
1830
  }
1802
1831
  }
1803
- class er extends Ai {
1832
+ class sr extends Ai {
1804
1833
  constructor() {
1805
1834
  super(...arguments);
1806
1835
  /** {@link Updateable.onBeforeUpdate} */
@@ -1903,7 +1932,7 @@ const be = class be extends it {
1903
1932
  };
1904
1933
  I(be, "uuid", "76e9cd8e-ad8f-4753-9ef6-cbc60f7247fe");
1905
1934
  let zt = be;
1906
- class sr extends Ai {
1935
+ class ir extends Ai {
1907
1936
  constructor(t) {
1908
1937
  super(t);
1909
1938
  /** {@link Disposable.onDisposed} */
@@ -1919,8 +1948,8 @@ class sr extends Ai {
1919
1948
  this.three.children = [], this.onDisposed.trigger(), this.onDisposed.reset();
1920
1949
  }
1921
1950
  }
1922
- const ms = 0, ir = 1, nr = new M(), Zi = new Lt(), Ws = new pi(), Qi = new M(), hs = new ue();
1923
- class or {
1951
+ const ms = 0, nr = 1, or = new M(), Zi = new Lt(), Ws = new pi(), Qi = new M(), hs = new ue();
1952
+ class rr {
1924
1953
  constructor() {
1925
1954
  this.tolerance = -1, this.faces = [], this.newFaces = [], this.assigned = new ji(), this.unassigned = new ji(), this.vertices = [];
1926
1955
  }
@@ -1928,7 +1957,7 @@ class or {
1928
1957
  if (s.length >= 4) {
1929
1958
  this.makeEmpty();
1930
1959
  for (let t = 0, e = s.length; t < e; t++)
1931
- this.vertices.push(new rr(s[t]));
1960
+ this.vertices.push(new ar(s[t]));
1932
1961
  this.compute();
1933
1962
  }
1934
1963
  return this;
@@ -1968,7 +1997,7 @@ class or {
1968
1997
  return i !== -1 / 0 ? s.at(i, t) : s.at(o, t), t;
1969
1998
  }
1970
1999
  intersectsRay(s) {
1971
- return this.intersectRay(s, nr) !== null;
2000
+ return this.intersectRay(s, or) !== null;
1972
2001
  }
1973
2002
  makeEmpty() {
1974
2003
  return this.faces = [], this.vertices = [], this;
@@ -2135,7 +2164,7 @@ class or {
2135
2164
  // For an edge to be part of the horizon it must join a face that can see
2136
2165
  // 'eyePoint' and a face that cannot see 'eyePoint'.
2137
2166
  computeHorizon(s, t, e, i) {
2138
- this.deleteFaceVertices(e), e.mark = ir;
2167
+ this.deleteFaceVertices(e), e.mark = nr;
2139
2168
  let o;
2140
2169
  t === null ? o = t = e.getEdge(0) : o = t.next;
2141
2170
  do {
@@ -2221,7 +2250,7 @@ class Xs {
2221
2250
  return this.twin = s, s.twin = this, this;
2222
2251
  }
2223
2252
  }
2224
- class rr {
2253
+ class ar {
2225
2254
  constructor(s) {
2226
2255
  this.point = s, this.prev = null, this.next = null, this.face = null;
2227
2256
  }
@@ -2273,14 +2302,14 @@ const li = [2, 2, 1], hi = [1, 0, 0];
2273
2302
  function Pt(c, s) {
2274
2303
  return c * 3 + s;
2275
2304
  }
2276
- function ar(c) {
2305
+ function cr(c) {
2277
2306
  const s = c.elements;
2278
2307
  let t = 0;
2279
2308
  for (let e = 0; e < 9; e++)
2280
2309
  t += s[e] * s[e];
2281
2310
  return Math.sqrt(t);
2282
2311
  }
2283
- function cr(c) {
2312
+ function lr(c) {
2284
2313
  const s = c.elements;
2285
2314
  let t = 0;
2286
2315
  for (let e = 0; e < 3; e++) {
@@ -2289,7 +2318,7 @@ function cr(c) {
2289
2318
  }
2290
2319
  return Math.sqrt(t);
2291
2320
  }
2292
- function lr(c, s) {
2321
+ function hr(c, s) {
2293
2322
  let t = 0, e = 1;
2294
2323
  const i = c.elements;
2295
2324
  for (let l = 0; l < 3; l++) {
@@ -2305,22 +2334,22 @@ function lr(c, s) {
2305
2334
  }
2306
2335
  return s.identity(), s.elements[Pt(r, r)] = o, s.elements[Pt(a, a)] = o, s.elements[Pt(a, r)] = n, s.elements[Pt(r, a)] = -n, s;
2307
2336
  }
2308
- function hr(c, s) {
2337
+ function Er(c, s) {
2309
2338
  let t = 0, e = 0;
2310
2339
  const i = 10;
2311
2340
  s.unitary.identity(), s.diagonal.copy(c);
2312
- const o = s.unitary, n = s.diagonal, r = new O.Matrix3(), a = new O.Matrix3(), l = Number.EPSILON * ar(n);
2313
- for (; e < i && cr(n) > l; )
2314
- lr(n, r), a.copy(r).transpose(), n.multiply(r), n.premultiply(a), o.multiply(r), ++t > 2 && (e++, t = 0);
2341
+ const o = s.unitary, n = s.diagonal, r = new O.Matrix3(), a = new O.Matrix3(), l = Number.EPSILON * cr(n);
2342
+ for (; e < i && lr(n) > l; )
2343
+ hr(n, r), a.copy(r).transpose(), n.multiply(r), n.premultiply(a), o.multiply(r), ++t > 2 && (e++, t = 0);
2315
2344
  return s;
2316
2345
  }
2317
- function Er(c) {
2346
+ function dr(c) {
2318
2347
  const s = [];
2319
2348
  for (let st = 0; st < c.length - 2; st += 3) {
2320
2349
  const Xt = c[st], J = c[st + 1], Kt = c[st + 2];
2321
2350
  s.push(new O.Vector3(Xt, J, Kt));
2322
2351
  }
2323
- const t = new or();
2352
+ const t = new rr();
2324
2353
  t.setFromPoints(s);
2325
2354
  const e = {
2326
2355
  unitary: new O.Matrix3(),
@@ -2348,7 +2377,7 @@ function Er(c) {
2348
2377
  }
2349
2378
  p.divideScalar(R), A /= R, C /= R, T /= R, F /= R, f /= R, m /= R, A -= p.x * p.x, C -= p.x * p.y, T -= p.x * p.z, F -= p.y * p.y, f -= p.y * p.z, m -= p.z * p.z;
2350
2379
  const g = new O.Matrix3();
2351
- g.elements[0] = A, g.elements[1] = C, g.elements[2] = T, g.elements[3] = C, g.elements[4] = F, g.elements[5] = f, g.elements[6] = T, g.elements[7] = f, g.elements[8] = m, hr(g, e);
2380
+ g.elements[0] = A, g.elements[1] = C, g.elements[2] = T, g.elements[3] = C, g.elements[4] = F, g.elements[5] = f, g.elements[6] = T, g.elements[7] = f, g.elements[8] = m, Er(g, e);
2352
2381
  const S = e.unitary, _ = new O.Vector3(), N = new O.Vector3(), y = new O.Vector3();
2353
2382
  S.extractBasis(_, N, y);
2354
2383
  let w = -1 / 0, L = -1 / 0, U = -1 / 0, x = 1 / 0, B = 1 / 0, H = 1 / 0;
@@ -2370,7 +2399,7 @@ function Er(c) {
2370
2399
  const Te = new O.Matrix4();
2371
2400
  return Te.multiply(Oi), Te.multiply(Si), Te.multiply(Ce), Te.multiply(Xe), { center: q, halfSizes: et, rotation: Q, transformation: Te };
2372
2401
  }
2373
- function dr(c, s, t) {
2402
+ function ur(c, s, t) {
2374
2403
  const e = [
2375
2404
  c[0] - s[0],
2376
2405
  c[1] - s[1],
@@ -2661,7 +2690,7 @@ I(K, "_lut", [
2661
2690
  "ff"
2662
2691
  ]);
2663
2692
  let He = K;
2664
- class Qr extends it {
2693
+ class jr extends it {
2665
2694
  constructor(t, e) {
2666
2695
  super(t);
2667
2696
  I(this, "onVertexFound", new D());
@@ -2820,7 +2849,7 @@ const Fs = class Fs {
2820
2849
  };
2821
2850
  I(Fs, "release", "1.4.21");
2822
2851
  let Ei = Fs;
2823
- class ur {
2852
+ class Ir {
2824
2853
  constructor(s) {
2825
2854
  I(this, "_event");
2826
2855
  I(this, "_position", new O.Vector2());
@@ -2855,7 +2884,7 @@ class ur {
2855
2884
  s ? this.dom.addEventListener("mousemove", this.updateMouseInfo) : this.dom.removeEventListener("mousemove", this.updateMouseInfo);
2856
2885
  }
2857
2886
  }
2858
- class Ir {
2887
+ class fr {
2859
2888
  constructor(s, t) {
2860
2889
  /** {@link Component.enabled} */
2861
2890
  I(this, "enabled", !0);
@@ -2869,7 +2898,7 @@ class Ir {
2869
2898
  const e = t.renderer;
2870
2899
  if (!e)
2871
2900
  throw new Error("A renderer is needed for the raycaster to work!");
2872
- this.world = t, this.mouse = new ur(e.three.domElement), this.components = s;
2901
+ this.world = t, this.mouse = new Ir(e.three.domElement), this.components = s;
2873
2902
  }
2874
2903
  /** {@link Disposable.dispose} */
2875
2904
  dispose() {
@@ -2920,7 +2949,7 @@ const gs = class gs extends it {
2920
2949
  get(t) {
2921
2950
  if (this.list.has(t.uuid))
2922
2951
  return this.list.get(t.uuid);
2923
- const e = new Ir(this.components, t);
2952
+ const e = new fr(this.components, t);
2924
2953
  return this.list.set(t.uuid, e), t.onDisposed.add(() => {
2925
2954
  this.delete(t);
2926
2955
  }), e;
@@ -2937,7 +2966,7 @@ const gs = class gs extends it {
2937
2966
  };
2938
2967
  I(gs, "uuid", "d5d8bdf0-db25-4952-b951-b643af207ace");
2939
2968
  let ke = gs;
2940
- class fr extends Ri {
2969
+ class pr extends Ri {
2941
2970
  constructor(t) {
2942
2971
  super(t);
2943
2972
  /**
@@ -2989,7 +3018,7 @@ class fr extends Ri {
2989
3018
  this._scene = null, this._camera = null, this._renderer = null, this.onDisposed.trigger();
2990
3019
  }
2991
3020
  }
2992
- class jr extends sr {
3021
+ class qr extends ir {
2993
3022
  constructor(t) {
2994
3023
  super(t);
2995
3024
  /** {@link Configurable.isSetup} */
@@ -3025,7 +3054,7 @@ class jr extends sr {
3025
3054
  this.three.add(e, i), this.isSetup = !0, this.onSetup.trigger(this);
3026
3055
  }
3027
3056
  }
3028
- class qr extends er {
3057
+ class $r extends sr {
3029
3058
  constructor(t, e, i) {
3030
3059
  super(t);
3031
3060
  /** {@link Component.enabled} */
@@ -3190,7 +3219,7 @@ function Zs(c, s) {
3190
3219
  function Qs(c, s) {
3191
3220
  return vt(c) ? (console.warn(`${s} is not supported in OrthographicCamera`), !0) : !1;
3192
3221
  }
3193
- class pr {
3222
+ class Cr {
3194
3223
  constructor() {
3195
3224
  this._listeners = {};
3196
3225
  }
@@ -3254,9 +3283,9 @@ class pr {
3254
3283
  }
3255
3284
  }
3256
3285
  }
3257
- const Cr = "2.7.3", ds = 1 / 8, yn = typeof window < "u", Tr = yn && /Mac/.test(navigator.platform), mr = !(yn && "PointerEvent" in window);
3286
+ const Tr = "2.7.3", ds = 1 / 8, yn = typeof window < "u", mr = yn && /Mac/.test(navigator.platform), Rr = !(yn && "PointerEvent" in window);
3258
3287
  let Y, tn, us, js, lt, G, z, Ee, ye, St, _t, Qt, en, sn, ut, Le, de, nn, qs, on, $s, Ks, Is;
3259
- class ot extends pr {
3288
+ class ot extends Cr {
3260
3289
  /**
3261
3290
  * Injects THREE as the dependency. You can then proceed to use CameraControls.
3262
3291
  *
@@ -3469,7 +3498,7 @@ class ot extends pr {
3469
3498
  const N = performance.now();
3470
3499
  h - N < 1e3 && this._getClientRect(this._elementRect), h = N;
3471
3500
  }
3472
- const m = Tr ? -1 : -3, g = f.deltaMode === 1 ? f.deltaY / m : f.deltaY / (m * 10), S = this.dollyToCursor ? (f.clientX - this._elementRect.x) / this._elementRect.width * 2 - 1 : 0, _ = this.dollyToCursor ? (f.clientY - this._elementRect.y) / this._elementRect.height * -2 + 1 : 0;
3501
+ const m = mr ? -1 : -3, g = f.deltaMode === 1 ? f.deltaY / m : f.deltaY / (m * 10), S = this.dollyToCursor ? (f.clientX - this._elementRect.x) / this._elementRect.width * 2 - 1 : 0, _ = this.dollyToCursor ? (f.clientY - this._elementRect.y) / this._elementRect.height * -2 + 1 : 0;
3473
3502
  switch (this.mouseButtons.wheel) {
3474
3503
  case P.ROTATE: {
3475
3504
  this._rotateInternal(f.deltaX, f.deltaY), this._isUserControllingRotate = !0;
@@ -3565,7 +3594,7 @@ class ot extends pr {
3565
3594
  this.unlockPointer();
3566
3595
  };
3567
3596
  this._addAllEventListeners = (f) => {
3568
- this._domElement = f, this._domElement.style.touchAction = "none", this._domElement.style.userSelect = "none", this._domElement.style.webkitUserSelect = "none", this._domElement.addEventListener("pointerdown", n), mr && this._domElement.addEventListener("mousedown", r), this._domElement.addEventListener("pointercancel", E), this._domElement.addEventListener("wheel", u, { passive: !1 }), this._domElement.addEventListener("contextmenu", p);
3597
+ this._domElement = f, this._domElement.style.touchAction = "none", this._domElement.style.userSelect = "none", this._domElement.style.webkitUserSelect = "none", this._domElement.addEventListener("pointerdown", n), Rr && this._domElement.addEventListener("mousedown", r), this._domElement.addEventListener("pointercancel", E), this._domElement.addEventListener("wheel", u, { passive: !1 }), this._domElement.addEventListener("contextmenu", p);
3569
3598
  }, this._removeAllEventListeners = () => {
3570
3599
  this._domElement && (this._domElement.style.touchAction = "", this._domElement.style.userSelect = "", this._domElement.style.webkitUserSelect = "", this._domElement.removeEventListener("pointerdown", n), this._domElement.removeEventListener("mousedown", r), this._domElement.removeEventListener("pointercancel", E), this._domElement.removeEventListener("wheel", u, { passive: !1 }), this._domElement.removeEventListener("contextmenu", p), this._domElement.ownerDocument.removeEventListener("pointermove", a, { passive: !1 }), this._domElement.ownerDocument.removeEventListener("mousemove", l), this._domElement.ownerDocument.removeEventListener("pointerup", E), this._domElement.ownerDocument.removeEventListener("mouseup", d), this._domElement.ownerDocument.removeEventListener("pointerlockchange", T), this._domElement.ownerDocument.removeEventListener("pointerlockerror", F));
3571
3600
  }, this.cancel = () => {
@@ -4327,7 +4356,7 @@ class ot extends pr {
4327
4356
  console.warn("camera-controls is already connected.");
4328
4357
  return;
4329
4358
  }
4330
- s.setAttribute("data-camera-controls-version", Cr), this._addAllEventListeners(s), this._getClientRect(this._elementRect);
4359
+ s.setAttribute("data-camera-controls-version", Tr), this._addAllEventListeners(s), this._getClientRect(this._elementRect);
4331
4360
  }
4332
4361
  /**
4333
4362
  * Detach all internal event handlers to disable drag control.
@@ -4472,7 +4501,7 @@ class ot extends pr {
4472
4501
  }), e.radius = Math.sqrt(o), e;
4473
4502
  }
4474
4503
  }
4475
- class We extends tr {
4504
+ class We extends er {
4476
4505
  constructor(t) {
4477
4506
  super(t);
4478
4507
  /** {@link Updateable.onBeforeUpdate} */
@@ -4581,7 +4610,7 @@ const Os = class Os extends it {
4581
4610
  t.add(Os.uuid, this);
4582
4611
  }
4583
4612
  create() {
4584
- const t = new fr(this.components), e = t.uuid;
4613
+ const t = new pr(this.components), e = t.uuid;
4585
4614
  if (this.list.has(e))
4586
4615
  throw new Error("There is already a world with this name!");
4587
4616
  return this.list.set(e, t), t;
@@ -4603,7 +4632,7 @@ const Os = class Os extends it {
4603
4632
  };
4604
4633
  I(Os, "uuid", "fdb61dc4-2ec1-4966-b83d-54ea795fad4a");
4605
4634
  let di = Os;
4606
- class Rr {
4635
+ class Ar {
4607
4636
  constructor(s, t, e) {
4608
4637
  /** {@link Disposable.onDisposed} */
4609
4638
  I(this, "onDisposed", new D());
@@ -4753,7 +4782,7 @@ class Rr {
4753
4782
  s ? t.addEventListener("update", this.updateZoom) : t.removeEventListener("update", this.updateZoom);
4754
4783
  }
4755
4784
  }
4756
- class Ar extends it {
4785
+ class Fr extends it {
4757
4786
  constructor() {
4758
4787
  super(...arguments);
4759
4788
  I(this, "list", /* @__PURE__ */ new Map());
@@ -4770,7 +4799,7 @@ class Ar extends it {
4770
4799
  create(t) {
4771
4800
  if (this.list.has(t.uuid))
4772
4801
  throw new Error("This world already has a grid!");
4773
- const e = new Rr(this.components, t, this.config);
4802
+ const e = new Ar(this.components, t, this.config);
4774
4803
  this.list.set(t.uuid, e), t.onDisposed.add(() => {
4775
4804
  this.delete(t);
4776
4805
  });
@@ -4785,18 +4814,18 @@ class Ar extends it {
4785
4814
  this.list.clear(), this.onDisposed.trigger();
4786
4815
  }
4787
4816
  }
4788
- I(Ar, "uuid", "d1e814d5-b81c-4452-87a2-f039375e0489");
4817
+ I(Fr, "uuid", "d1e814d5-b81c-4452-87a2-f039375e0489");
4789
4818
  const jt = new zn(), nt = new M(), bt = new M(), j = new yt(), rn = {
4790
4819
  X: new M(1, 0, 0),
4791
4820
  Y: new M(0, 1, 0),
4792
4821
  Z: new M(0, 0, 1)
4793
4822
  }, Js = { type: "change" }, an = { type: "mouseDown" }, cn = { type: "mouseUp", mode: null }, ln = { type: "objectChange" };
4794
- class Fr extends ei {
4823
+ class gr extends ei {
4795
4824
  constructor(s, t) {
4796
4825
  super(), t === void 0 && (console.warn('THREE.TransformControls: The second parameter "domElement" is now mandatory.'), t = document), this.isTransformControls = !0, this.visible = !1, this.domElement = t, this.domElement.style.touchAction = "none";
4797
- const e = new Pr();
4826
+ const e = new yr();
4798
4827
  this._gizmo = e, this.add(e);
4799
- const i = new yr();
4828
+ const i = new Lr();
4800
4829
  this._plane = i, this.add(i);
4801
4830
  const o = this;
4802
4831
  function n(T, F) {
@@ -4812,7 +4841,7 @@ class Fr extends ei {
4812
4841
  }
4813
4842
  n("camera", s), n("object", void 0), n("enabled", !0), n("axis", null), n("mode", "translate"), n("translationSnap", null), n("rotationSnap", null), n("scaleSnap", null), n("space", "world"), n("size", 1), n("dragging", !1), n("showX", !0), n("showY", !0), n("showZ", !0);
4814
4843
  const r = new M(), a = new M(), l = new yt(), E = new yt(), d = new M(), h = new yt(), u = new M(), p = new M(), R = new M(), A = 0, C = new M();
4815
- n("worldPosition", r), n("worldPositionStart", a), n("worldQuaternion", l), n("worldQuaternionStart", E), n("cameraPosition", d), n("cameraQuaternion", h), n("pointStart", u), n("pointEnd", p), n("rotationAxis", R), n("rotationAngle", A), n("eye", C), this._offset = new M(), this._startNorm = new M(), this._endNorm = new M(), this._cameraScale = new M(), this._parentPosition = new M(), this._parentQuaternion = new yt(), this._parentQuaternionInv = new yt(), this._parentScale = new M(), this._worldScaleStart = new M(), this._worldQuaternionInv = new yt(), this._worldScale = new M(), this._positionStart = new M(), this._quaternionStart = new yt(), this._scaleStart = new M(), this._getPointer = gr.bind(this), this._onPointerDown = Sr.bind(this), this._onPointerHover = Or.bind(this), this._onPointerMove = _r.bind(this), this._onPointerUp = Nr.bind(this), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointermove", this._onPointerHover), this.domElement.addEventListener("pointerup", this._onPointerUp);
4844
+ n("worldPosition", r), n("worldPositionStart", a), n("worldQuaternion", l), n("worldQuaternionStart", E), n("cameraPosition", d), n("cameraQuaternion", h), n("pointStart", u), n("pointEnd", p), n("rotationAxis", R), n("rotationAngle", A), n("eye", C), this._offset = new M(), this._startNorm = new M(), this._endNorm = new M(), this._cameraScale = new M(), this._parentPosition = new M(), this._parentQuaternion = new yt(), this._parentQuaternionInv = new yt(), this._parentScale = new M(), this._worldScaleStart = new M(), this._worldQuaternionInv = new yt(), this._worldScale = new M(), this._positionStart = new M(), this._quaternionStart = new yt(), this._scaleStart = new M(), this._getPointer = Or.bind(this), this._onPointerDown = _r.bind(this), this._onPointerHover = Sr.bind(this), this._onPointerMove = Nr.bind(this), this._onPointerUp = Pr.bind(this), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointermove", this._onPointerHover), this.domElement.addEventListener("pointerup", this._onPointerUp);
4816
4845
  }
4817
4846
  // updateMatrixWorld updates key transformation variables
4818
4847
  updateMatrixWorld() {
@@ -4903,7 +4932,7 @@ class Fr extends ei {
4903
4932
  this.space = s;
4904
4933
  }
4905
4934
  }
4906
- function gr(c) {
4935
+ function Or(c) {
4907
4936
  if (this.domElement.ownerDocument.pointerLockElement)
4908
4937
  return {
4909
4938
  x: 0,
@@ -4919,7 +4948,7 @@ function gr(c) {
4919
4948
  };
4920
4949
  }
4921
4950
  }
4922
- function Or(c) {
4951
+ function Sr(c) {
4923
4952
  if (this.enabled)
4924
4953
  switch (c.pointerType) {
4925
4954
  case "mouse":
@@ -4928,13 +4957,13 @@ function Or(c) {
4928
4957
  break;
4929
4958
  }
4930
4959
  }
4931
- function Sr(c) {
4960
+ function _r(c) {
4932
4961
  this.enabled && (document.pointerLockElement || this.domElement.setPointerCapture(c.pointerId), this.domElement.addEventListener("pointermove", this._onPointerMove), this.pointerHover(this._getPointer(c)), this.pointerDown(this._getPointer(c)));
4933
4962
  }
4934
- function _r(c) {
4963
+ function Nr(c) {
4935
4964
  this.enabled && this.pointerMove(this._getPointer(c));
4936
4965
  }
4937
- function Nr(c) {
4966
+ function Pr(c) {
4938
4967
  this.enabled && (this.domElement.releasePointerCapture(c.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.pointerUp(this._getPointer(c)));
4939
4968
  }
4940
4969
  function ti(c, s, t) {
@@ -4945,7 +4974,7 @@ function ti(c, s, t) {
4945
4974
  return !1;
4946
4975
  }
4947
4976
  const fs = new Hn(), W = new M(0, 1, 0), hn = new M(0, 0, 0), En = new Mt(), ps = new yt(), Rs = new yt(), Nt = new M(), dn = new Mt(), De = new M(1, 0, 0), qt = new M(0, 1, 0), Ue = new M(0, 0, 1), Cs = new M(), Me = new M(), we = new M();
4948
- class Pr extends ei {
4977
+ class yr extends ei {
4949
4978
  constructor() {
4950
4979
  super(), this.isTransformControlsGizmo = !0, this.type = "TransformControlsGizmo";
4951
4980
  const s = new gn({
@@ -5204,7 +5233,7 @@ class Pr extends ei {
5204
5233
  super.updateMatrixWorld(s);
5205
5234
  }
5206
5235
  }
5207
- class yr extends v {
5236
+ class Lr extends v {
5208
5237
  constructor() {
5209
5238
  super(
5210
5239
  new Xn(1e5, 1e5, 2, 2),
@@ -5348,7 +5377,7 @@ class Fi {
5348
5377
  newTransformControls() {
5349
5378
  if (!this.world.renderer)
5350
5379
  throw new Error("No renderer found for clipping plane!");
5351
- const s = this.world.camera.three, t = this.world.renderer.three.domElement, e = new Fr(s, t);
5380
+ const s = this.world.camera.three, t = this.world.renderer.three.domElement, e = new gr(s, t);
5352
5381
  return this.initializeControls(e), this.world.scene.three.add(e), e;
5353
5382
  }
5354
5383
  initializeControls(s) {
@@ -5682,7 +5711,7 @@ const Be = class Be extends it {
5682
5711
  };
5683
5712
  I(Be, "uuid", "24989d27-fa2f-4797-8b08-35918f74e502");
5684
5713
  let In = Be;
5685
- function Lr(c, s, t, e) {
5714
+ function Mr(c, s, t, e) {
5686
5715
  return new Promise((i, o) => {
5687
5716
  function n() {
5688
5717
  const r = c.clientWaitSync(s, t, 0);
@@ -5699,15 +5728,15 @@ function Lr(c, s, t, e) {
5699
5728
  n();
5700
5729
  });
5701
5730
  }
5702
- async function Mr(c, s, t, e, i, o, n) {
5731
+ async function wr(c, s, t, e, i, o, n) {
5703
5732
  const r = c.fenceSync(c.SYNC_GPU_COMMANDS_COMPLETE, 0);
5704
- c.flush(), await Lr(c, r, 0, 10), c.deleteSync(r), c.bindBuffer(s, t), c.getBufferSubData(s, e, i, o, n), c.bindBuffer(s, null);
5733
+ c.flush(), await Mr(c, r, 0, 10), c.deleteSync(r), c.bindBuffer(s, t), c.getBufferSubData(s, e, i, o, n), c.bindBuffer(s, null);
5705
5734
  }
5706
- async function wr(c, s, t, e, i, o, n, r) {
5735
+ async function Dr(c, s, t, e, i, o, n, r) {
5707
5736
  const a = c.createBuffer();
5708
- return c.bindBuffer(c.PIXEL_PACK_BUFFER, a), c.bufferData(c.PIXEL_PACK_BUFFER, r.byteLength, c.STREAM_READ), c.readPixels(s, t, e, i, o, n, 0), c.bindBuffer(c.PIXEL_PACK_BUFFER, null), await Mr(c, c.PIXEL_PACK_BUFFER, a, 0, r), c.deleteBuffer(a), r;
5737
+ return c.bindBuffer(c.PIXEL_PACK_BUFFER, a), c.bufferData(c.PIXEL_PACK_BUFFER, r.byteLength, c.STREAM_READ), c.readPixels(s, t, e, i, o, n, 0), c.bindBuffer(c.PIXEL_PACK_BUFFER, null), await wr(c, c.PIXEL_PACK_BUFFER, a, 0, r), c.deleteBuffer(a), r;
5709
5738
  }
5710
- class Dr {
5739
+ class Ur {
5711
5740
  constructor(s, t, e) {
5712
5741
  /** {@link Disposable.onDisposed} */
5713
5742
  I(this, "onDisposed", new D());
@@ -5716,7 +5745,7 @@ class Dr {
5716
5745
  * meshes that are currently visible, and the ones that were visible
5717
5746
  * just before but not anymore.
5718
5747
  */
5719
- I(this, "onViewUpdated", new D());
5748
+ I(this, "onViewUpdated", new tr());
5720
5749
  /** {@link Component.enabled} */
5721
5750
  I(this, "enabled", !0);
5722
5751
  /**
@@ -5742,6 +5771,8 @@ class Dr {
5742
5771
  I(this, "renderTarget");
5743
5772
  I(this, "bufferSize");
5744
5773
  I(this, "_buffer");
5774
+ // Prevents worker being fired multiple times
5775
+ I(this, "_isWorkerBusy", !1);
5745
5776
  /**
5746
5777
  * The function that the culler uses to reprocess the scene. Generally it's
5747
5778
  * better to call needsUpdate, but you can also call this to force it.
@@ -5749,12 +5780,13 @@ class Dr {
5749
5780
  * not true.
5750
5781
  */
5751
5782
  I(this, "updateVisibility", async (s) => {
5752
- if (!this.enabled || !this.needsUpdate && !s)
5783
+ if (!this.enabled || !this.needsUpdate && !s || this._isWorkerBusy)
5753
5784
  return;
5785
+ this._isWorkerBusy = !0;
5754
5786
  const t = this.world.camera.three;
5755
5787
  t.updateMatrix(), this.renderer.setSize(this._width, this._height), this.renderer.setRenderTarget(this.renderTarget), this.renderer.render(this.scene, t);
5756
5788
  const e = this.renderer.getContext();
5757
- await wr(
5789
+ await Dr(
5758
5790
  e,
5759
5791
  0,
5760
5792
  0,
@@ -5826,7 +5858,7 @@ class Dr {
5826
5858
  s && (s.updateInterval !== void 0 && (this.updateInterval = s.updateInterval), s.height !== void 0 && (this._height = s.height), s.width !== void 0 && (this._width = s.width), s.autoUpdate !== void 0 && (this.autoUpdate = s.autoUpdate));
5827
5859
  }
5828
5860
  }
5829
- class Ur extends Dr {
5861
+ class xr extends Ur {
5830
5862
  constructor(t, e, i) {
5831
5863
  super(t, e, i);
5832
5864
  /* Pixels in screen a geometry must occupy to be considered "seen". */
@@ -5838,6 +5870,7 @@ class Ur extends Dr {
5838
5870
  I(this, "_meshIDColorCodeMap", /* @__PURE__ */ new Map());
5839
5871
  I(this, "_currentVisibleMeshes", /* @__PURE__ */ new Set());
5840
5872
  I(this, "_recentlyHiddenMeshes", /* @__PURE__ */ new Set());
5873
+ I(this, "_intervalID", null);
5841
5874
  I(this, "_transparentMat", new O.MeshBasicMaterial({
5842
5875
  transparent: !0,
5843
5876
  opacity: 0
@@ -5856,7 +5889,7 @@ class Ur extends Dr {
5856
5889
  this.onViewUpdated.trigger({
5857
5890
  seen: this._currentVisibleMeshes,
5858
5891
  unseen: this._recentlyHiddenMeshes
5859
- });
5892
+ }), this._isWorkerBusy = !1;
5860
5893
  });
5861
5894
  this.worker.addEventListener("message", this.handleWorkerMessage), this.autoUpdate && window.setInterval(async () => {
5862
5895
  this.isProcessing || await this.updateVisibility();
@@ -5868,7 +5901,7 @@ class Ur extends Dr {
5868
5901
  });
5869
5902
  }
5870
5903
  dispose() {
5871
- super.dispose(), this._currentVisibleMeshes.clear(), this._recentlyHiddenMeshes.clear(), this._meshIDColorCodeMap.clear(), this._transparentMat.dispose(), this._colorCodeMeshMap.clear();
5904
+ super.dispose(), this._intervalID !== null && (window.clearInterval(this._intervalID), this._intervalID = null), this._currentVisibleMeshes.clear(), this._recentlyHiddenMeshes.clear(), this._meshIDColorCodeMap.clear(), this._transparentMat.dispose(), this._colorCodeMeshMap.clear();
5872
5905
  const t = this.components.get(zt);
5873
5906
  for (const e in this.colorMeshes) {
5874
5907
  const i = this.colorMeshes.get(e);
@@ -5955,7 +5988,7 @@ const Ye = class Ye extends it {
5955
5988
  create(t, e) {
5956
5989
  if (this.list.has(t.uuid))
5957
5990
  return this.list.get(t.uuid);
5958
- const i = new Ur(this.components, t, e);
5991
+ const i = new xr(this.components, t, e);
5959
5992
  return this.list.set(t.uuid, i), i;
5960
5993
  }
5961
5994
  delete(t) {
@@ -6192,7 +6225,7 @@ const Ln = /* @__PURE__ */ new Set([
6192
6225
  2830218821,
6193
6226
  427810014
6194
6227
  ]);
6195
- class xr {
6228
+ class br {
6196
6229
  /**
6197
6230
  * Exports all the properties of an IFC into an array of JS objects.
6198
6231
  * @param webIfc The instance of [web-ifc]{@link https://github.com/ThatOpen/engine_web-ifc} to use.
@@ -6223,7 +6256,7 @@ class xr {
6223
6256
  return o;
6224
6257
  }
6225
6258
  }
6226
- const br = {
6259
+ const vr = {
6227
6260
  103090709: "IFCPROJECT",
6228
6261
  4097777520: "IFCSITE",
6229
6262
  4031249490: "IFCBUILDING",
@@ -6362,9 +6395,9 @@ const br = {
6362
6395
  4292641817: "IFCUNITARYEQUIPMENT",
6363
6396
  3009204131: "IFCGRID"
6364
6397
  };
6365
- class $r {
6398
+ class Kr {
6366
6399
  getAll(s, t) {
6367
- const e = {}, i = Object.keys(br).map((o) => parseInt(o, 10));
6400
+ const e = {}, i = Object.keys(vr).map((o) => parseInt(o, 10));
6368
6401
  for (let o = 0; o < i.length; o++) {
6369
6402
  const n = i[o], r = s.GetLineIDsWithType(t, n), a = r.size();
6370
6403
  for (let l = 0; l < a; l++)
@@ -7728,7 +7761,7 @@ const Ss = class Ss extends it {
7728
7761
  };
7729
7762
  I(Ss, "uuid", "fef46874-46a3-461b-8c44-2922ab77c806");
7730
7763
  let dt = Ss;
7731
- class Kr extends it {
7764
+ class Jr extends it {
7732
7765
  constructor(t) {
7733
7766
  super(t);
7734
7767
  I(this, "onFound", new D());
@@ -8046,7 +8079,7 @@ const Ve = class Ve extends it {
8046
8079
  };
8047
8080
  I(Ve, "uuid", "23a889ab-83b3-44a4-8bee-ead83438370b");
8048
8081
  let pn = Ve;
8049
- class vr {
8082
+ class Br {
8050
8083
  constructor() {
8051
8084
  I(this, "factor", 1);
8052
8085
  I(this, "complement", 1);
@@ -8107,7 +8140,7 @@ class vr {
8107
8140
  class wn {
8108
8141
  constructor() {
8109
8142
  I(this, "itemsByFloor", {});
8110
- I(this, "_units", new vr());
8143
+ I(this, "_units", new Br());
8111
8144
  }
8112
8145
  // TODO: Maybe make this more flexible so that it also support more exotic spatial structures?
8113
8146
  setUp(s) {
@@ -8286,7 +8319,7 @@ const Ge = class Ge extends it {
8286
8319
  I(this, "_metaData", new Un());
8287
8320
  I(this, "_fragmentInstances", /* @__PURE__ */ new Map());
8288
8321
  I(this, "_civil", new Dn());
8289
- I(this, "_propertyExporter", new xr());
8322
+ I(this, "_propertyExporter", new br());
8290
8323
  I(this, "_visitedFragments", /* @__PURE__ */ new Map());
8291
8324
  I(this, "_materialT", new O.MeshLambertMaterial({
8292
8325
  transparent: !0,
@@ -8851,20 +8884,20 @@ const Ns = class Ns extends it {
8851
8884
  };
8852
8885
  I(Ns, "uuid", "dd9ccf2d-8a21-4821-b7f6-2949add16a29");
8853
8886
  let mn = Ns;
8854
- class Br extends gi {
8887
+ class Yr extends gi {
8855
8888
  constructor() {
8856
8889
  super(...arguments);
8857
8890
  I(this, "minGeometrySize", 10);
8858
8891
  I(this, "minAssetsSize", 1e3);
8859
8892
  }
8860
8893
  }
8861
- class Yr extends gi {
8894
+ class Vr extends gi {
8862
8895
  constructor() {
8863
8896
  super(...arguments);
8864
8897
  I(this, "propertiesSize", 100);
8865
8898
  }
8866
8899
  }
8867
- class Vr extends it {
8900
+ class Gr extends it {
8868
8901
  constructor() {
8869
8902
  super(...arguments);
8870
8903
  I(this, "onPropertiesStreamed", new D());
@@ -8873,7 +8906,7 @@ class Vr extends it {
8873
8906
  /** {@link Disposable.onDisposed} */
8874
8907
  I(this, "onDisposed", new D());
8875
8908
  I(this, "enabled", !0);
8876
- I(this, "settings", new Yr());
8909
+ I(this, "settings", new Vr());
8877
8910
  I(this, "webIfc", new b.IfcAPI());
8878
8911
  }
8879
8912
  async dispose() {
@@ -8978,7 +9011,7 @@ class Vr extends it {
8978
9011
  this.webIfc = null, this.webIfc = new b.IfcAPI();
8979
9012
  }
8980
9013
  }
8981
- I(Vr, "uuid", "88d2c89c-ce32-47d7-8cb6-d51e4b311a0b");
9014
+ I(Gr, "uuid", "88d2c89c-ce32-47d7-8cb6-d51e4b311a0b");
8982
9015
  const Ps = class Ps extends it {
8983
9016
  constructor(t) {
8984
9017
  super(t);
@@ -8988,7 +9021,7 @@ const Ps = class Ps extends it {
8988
9021
  I(this, "onIfcLoaded", new D());
8989
9022
  /** {@link Disposable.onDisposed} */
8990
9023
  I(this, "onDisposed", new D());
8991
- I(this, "settings", new Br());
9024
+ I(this, "settings", new Yr());
8992
9025
  I(this, "enabled", !0);
8993
9026
  I(this, "webIfc", new b.IfcAPI());
8994
9027
  I(this, "_spatialTree", new wn());
@@ -9040,6 +9073,8 @@ const Ps = class Ps extends it {
9040
9073
  for (let m = 0; m < f; m++) {
9041
9074
  l > t && (l = 0, E++, o.push([]));
9042
9075
  const g = F.get(m);
9076
+ if (g !== 9056429)
9077
+ continue;
9043
9078
  o[E].push(g);
9044
9079
  const S = this._spatialTree.itemsByFloor[g] || 0;
9045
9080
  n.data.set(g, [[], [S, T]]), l++;
@@ -9102,11 +9137,11 @@ const Ps = class Ps extends it {
9102
9137
  ), r = new Float32Array(n.length / 2), a = new Float32Array(n.length / 2);
9103
9138
  for (let u = 0; u < n.length; u += 6)
9104
9139
  r[u / 2] = n[u], r[u / 2 + 1] = n[u + 1], r[u / 2 + 2] = n[u + 2], a[u / 2] = n[u + 3], a[u / 2 + 1] = n[u + 4], a[u / 2 + 2] = n[u + 5];
9105
- const l = Er(r), E = new Float32Array(l.transformation.elements), d = [l.center.x, l.center.y, l.center.z];
9140
+ const l = dr(r), E = new Float32Array(l.transformation.elements), d = [l.center.x, l.center.y, l.center.z];
9106
9141
  let h = !1;
9107
9142
  for (let u = 0; u < r.length - 2; u += 3) {
9108
9143
  const p = r[u], R = r[u + 1], A = r[u + 2], C = a[u], T = a[u + 1], F = a[u + 2];
9109
- if (dr(d, [p, R, A], [C, T, F])) {
9144
+ if (ur(d, [p, R, A], [C, T, F])) {
9110
9145
  h = !0;
9111
9146
  break;
9112
9147
  }
@@ -9131,7 +9166,7 @@ const Ps = class Ps extends it {
9131
9166
  };
9132
9167
  I(Ps, "uuid", "d9999a00-e1f5-4d3f-8cfe-c56e08609764");
9133
9168
  let Rn = Ps;
9134
- class Gr {
9169
+ class zr {
9135
9170
  constructor(s) {
9136
9171
  /** {@link NavigationMode.enabled} */
9137
9172
  I(this, "enabled", !1);
@@ -9158,7 +9193,7 @@ class Gr {
9158
9193
  ), s.truckSpeed = 50, s.mouseButtons.wheel = ot.ACTION.DOLLY, s.touches.two = ot.ACTION.TOUCH_ZOOM_TRUCK;
9159
9194
  }
9160
9195
  }
9161
- class zr {
9196
+ class Hr {
9162
9197
  constructor(s) {
9163
9198
  /** {@link NavigationMode.enabled} */
9164
9199
  I(this, "enabled", !0);
@@ -9181,7 +9216,7 @@ class zr {
9181
9216
  s.moveTo(n.x, n.y, n.z);
9182
9217
  }
9183
9218
  }
9184
- class Hr {
9219
+ class kr {
9185
9220
  constructor(s) {
9186
9221
  /** {@link NavigationMode.enabled} */
9187
9222
  I(this, "enabled", !1);
@@ -9201,7 +9236,7 @@ class Hr {
9201
9236
  t.azimuthRotateSpeed = s ? 0 : this.defaultAzimuthSpeed, t.polarRotateSpeed = s ? 0 : this.defaultPolarSpeed, this.mouseInitialized || (this.mouseAction1 = t.touches.one, this.mouseAction2 = t.touches.two, this.mouseInitialized = !0), s ? (t.mouseButtons.left = ot.ACTION.TRUCK, t.touches.one = ot.ACTION.TOUCH_TRUCK, t.touches.two = ot.ACTION.TOUCH_ZOOM) : (t.mouseButtons.left = ot.ACTION.ROTATE, t.touches.one = this.mouseAction1, t.touches.two = this.mouseAction2);
9202
9237
  }
9203
9238
  }
9204
- class kr {
9239
+ class Wr {
9205
9240
  constructor(s) {
9206
9241
  /**
9207
9242
  * Event that fires when the {@link CameraProjection} changes.
@@ -9268,7 +9303,7 @@ class kr {
9268
9303
  s.position.copy(t.position), s.quaternion.copy(t.quaternion), this._component.controls.mouseButtons.wheel = ot.ACTION.DOLLY, this.matchOrthoDistanceEnabled ? this._component.controls.distance = this.getDistance() : this._component.controls.distance = this._previousDistance, await this._component.controls.zoomTo(1), s.updateProjectionMatrix(), this._component.controls.camera = s, this.camera = s, this.current = "Perspective";
9269
9304
  }
9270
9305
  }
9271
- class Jr extends We {
9306
+ class ta extends We {
9272
9307
  constructor(t) {
9273
9308
  super(t);
9274
9309
  /**
@@ -9280,7 +9315,7 @@ class Jr extends We {
9280
9315
  I(this, "_userInputButtons", {});
9281
9316
  I(this, "_frustumSize", 50);
9282
9317
  I(this, "_navigationModes", /* @__PURE__ */ new Map());
9283
- this.threeOrtho = this.newOrthoCamera(), this._navigationModes.set("Orbit", new zr(this)), this._navigationModes.set("FirstPerson", new Gr(this)), this._navigationModes.set("Plan", new Hr(this)), this.mode = this._navigationModes.get("Orbit"), this.mode.set(!0, { preventTargetAdjustment: !0 }), this.projection = new kr(this), this.onAspectUpdated.add(() => this.setOrthoCameraAspect());
9318
+ this.threeOrtho = this.newOrthoCamera(), this._navigationModes.set("Orbit", new Hr(this)), this._navigationModes.set("FirstPerson", new zr(this)), this._navigationModes.set("Plan", new kr(this)), this.mode = this._navigationModes.get("Orbit"), this.mode.set(!0, { preventTargetAdjustment: !0 }), this.projection = new Wr(this), this.onAspectUpdated.add(() => this.setOrthoCameraAspect());
9284
9319
  }
9285
9320
  get current() {
9286
9321
  return this.projection.camera;
@@ -9355,7 +9390,7 @@ class Jr extends We {
9355
9390
  this.threeOrtho.left = -this._frustumSize * e / 2, this.threeOrtho.right = this._frustumSize * e / 2, this.threeOrtho.top = this._frustumSize / 2, this.threeOrtho.bottom = -this._frustumSize / 2, this.threeOrtho.updateProjectionMatrix();
9356
9391
  }
9357
9392
  }
9358
- class ta {
9393
+ class ea {
9359
9394
  static getFace(s, t, e) {
9360
9395
  if (!s.geometry.index)
9361
9396
  throw new Error("Geometry must be indexed!");
@@ -9481,19 +9516,20 @@ class ta {
9481
9516
  }
9482
9517
  }
9483
9518
  export {
9519
+ tr as AsyncEvent,
9484
9520
  Ri as Base,
9485
- tr as BaseCamera,
9486
- er as BaseRenderer,
9487
- sr as BaseScene,
9521
+ er as BaseCamera,
9522
+ sr as BaseRenderer,
9523
+ ir as BaseScene,
9488
9524
  Ai as BaseWorldItem,
9489
9525
  un as Clipper,
9490
9526
  it as Component,
9491
9527
  Ei as Components,
9492
- Dr as CullerRenderer,
9528
+ Ur as CullerRenderer,
9493
9529
  ui as Cullers,
9494
9530
  zt as Disposer,
9495
9531
  D as Event,
9496
- Gr as FirstPersonMode,
9532
+ zr as FirstPersonMode,
9497
9533
  fn as FragmentBoundingBox,
9498
9534
  fi as FragmentClassifier,
9499
9535
  Tn as FragmentExploder,
@@ -9501,36 +9537,36 @@ export {
9501
9537
  Ii as FragmentIfcLoader,
9502
9538
  Rn as FragmentIfcStreamConverter,
9503
9539
  dt as FragmentManager,
9504
- Vr as FragmentPropsStreamConverter,
9505
- Ar as Grids,
9506
- $r as IfcCategories,
9540
+ Gr as FragmentPropsStreamConverter,
9541
+ Fr as Grids,
9542
+ Kr as IfcCategories,
9507
9543
  Mn as IfcCategoryMap,
9508
- br as IfcElements,
9509
- xr as IfcJsonExporter,
9510
- Kr as IfcPropertiesFinder,
9544
+ vr as IfcElements,
9545
+ br as IfcJsonExporter,
9546
+ Jr as IfcPropertiesFinder,
9511
9547
  pn as IfcPropertiesIndexer,
9512
9548
  Cn as IfcPropertiesManager,
9513
9549
  Ft as IfcPropertiesUtils,
9514
- Br as IfcStreamingSettings,
9550
+ Yr as IfcStreamingSettings,
9515
9551
  In as Materials,
9516
9552
  qi as MaterialsUtils,
9517
- ta as MeasurementUtils,
9518
- Ur as MeshCullerRenderer,
9519
- zr as OrbitMode,
9520
- Jr as OrthoPerspectiveCamera,
9521
- Hr as PlanMode,
9522
- kr as ProjectionManager,
9523
- Yr as PropertiesStreamingSettings,
9553
+ ea as MeasurementUtils,
9554
+ xr as MeshCullerRenderer,
9555
+ Hr as OrbitMode,
9556
+ ta as OrthoPerspectiveCamera,
9557
+ kr as PlanMode,
9558
+ Wr as ProjectionManager,
9559
+ Vr as PropertiesStreamingSettings,
9524
9560
  ke as Raycasters,
9525
9561
  We as SimpleCamera,
9526
9562
  Fi as SimplePlane,
9527
- qr as SimpleRenderer,
9528
- jr as SimpleScene,
9529
- fr as SimpleWorld,
9563
+ $r as SimpleRenderer,
9564
+ qr as SimpleScene,
9565
+ pr as SimpleWorld,
9530
9566
  He as UUID,
9531
- Qr as VertexPicker,
9567
+ jr as VertexPicker,
9532
9568
  di as Worlds,
9533
- dr as isPointInFrontOfPlane,
9534
- Er as obbFromPoints,
9535
- wr as readPixelsAsync
9569
+ ur as isPointInFrontOfPlane,
9570
+ dr as obbFromPoints,
9571
+ Dr as readPixelsAsync
9536
9572
  };