ss-component-new 1.1.321 → 1.1.322
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/{array-B7a7NPJU.cjs → array-BbvvSsMu.cjs} +1 -1
- package/dist/{array-C-FBt-w6.js → array-D1c5z7wR.js} +2 -2
- package/dist/{cloneDeep-Dfe27GGP.cjs → cloneDeep-Cz5C3YTY.cjs} +1 -1
- package/dist/{cloneDeep-BCBo2P7c.js → cloneDeep-_BP6PqFE.js} +1 -1
- package/dist/{index-DtKo1EwI.cjs → index-2DyWZAdI.cjs} +1 -1
- package/dist/{index-B8R_1YcJ.cjs → index-8Hh6ndcp.cjs} +1 -1
- package/dist/{index-BQg0VVq4.cjs → index-B04yaoqW.cjs} +1 -1
- package/dist/{index-zKJ_fhRb.js → index-B5mGte2C.js} +1 -1
- package/dist/{index-BYj7719b.js → index-B5xspgKx.js} +4 -4
- package/dist/{index-DYKwo9dQ.cjs → index-BDEd8FiZ.cjs} +1 -1
- package/dist/{index-B31X029_.js → index-BHVJl56b.js} +1 -1
- package/dist/{index-DH_8-yVF.cjs → index-BLnGKCeV.cjs} +1 -1
- package/dist/{index-CvyP7SN4.cjs → index-BViHfbD_.cjs} +1 -1
- package/dist/{index-DJCo-V_0.js → index-Bbd67AeJ.js} +3 -3
- package/dist/{index-Bs0aQvhY.cjs → index-BcojRq7f.cjs} +1 -1
- package/dist/{index-B9ylWbtH.cjs → index-BmH4vIv5.cjs} +1 -1
- package/dist/{index-BW8fHFr3.cjs → index-BnhhKe8F.cjs} +1 -1
- package/dist/{index-IynRqxzh.js → index-Bo9FXjtY.js} +9 -9
- package/dist/{index-BhRm0szn.cjs → index-BtqwaqYq.cjs} +1 -1
- package/dist/{index-CXJxkaVz.cjs → index-BvHZX-h-.cjs} +1 -1
- package/dist/{index-BCoI86GW.js → index-C6JIrngm.js} +8 -8
- package/dist/{index-a2ldY1f-.js → index-CAc69tT_.js} +188 -175
- package/dist/{index-C_ALukSb.js → index-CCK5r26s.js} +5 -5
- package/dist/{index-9GphTnn3.js → index-CFmGx7au.js} +3 -3
- package/dist/{index-Bgho40P2.cjs → index-CIKYVmYG.cjs} +1 -1
- package/dist/{index-Ca2rHt6C.js → index-COd6JefL.js} +1 -1
- package/dist/{index-BeJ-4T1d.js → index-CPFvyv9G.js} +7 -7
- package/dist/{index-56_km5fJ.cjs → index-CS1cZGwT.cjs} +1 -1
- package/dist/{index-GQAcezLl.cjs → index-CVOAzSks.cjs} +1 -1
- package/dist/{index-XAfW8sqN.js → index-CZoo5L0I.js} +8 -8
- package/dist/{index-CymFMSAS.js → index-C_IxW7Md.js} +9 -9
- package/dist/{index-bag5UhkN.js → index-Cex_DdEz.js} +6 -6
- package/dist/{index-6JoL18KU.js → index-CifB8Q5h.js} +6 -6
- package/dist/{index-B1pGYX6g.js → index-Cq_-kyms.js} +3 -3
- package/dist/{index-Cum9FmiL.js → index-CvmUTrUZ.js} +7 -7
- package/dist/{index-CLaDIaSW.cjs → index-CvqVEDJp.cjs} +1 -1
- package/dist/{index-CnyOW-3P.js → index-Cy7V5CTy.js} +4 -4
- package/dist/{index-DSmYcj7E.cjs → index-D7VphCVl.cjs} +1 -1
- package/dist/{index-ZC9w1ZOi.cjs → index-DAwrHG2B.cjs} +1 -1
- package/dist/{index-Yb-y-7vb.js → index-DFfFpmpu.js} +5 -5
- package/dist/{index-BK4WawKM.cjs → index-DHpjhrEA.cjs} +1 -1
- package/dist/index-DK5Q4nqN.cjs +11 -0
- package/dist/{index-DGQdhDlx.cjs → index-DSg6qN3u.cjs} +1 -1
- package/dist/{index-DFnqEKzJ.cjs → index-D_43dEyj.cjs} +1 -1
- package/dist/{index-ETZte82B.js → index-DdlsSh-T.js} +5 -5
- package/dist/{index-yAPzGZyB.js → index-DfXZ2EMp.js} +3 -3
- package/dist/{index-B2enzaE2.js → index-DiNYreUx.js} +3 -3
- package/dist/{index-DzbEZsq7.cjs → index-DiPSBd5G.cjs} +1 -1
- package/dist/{index-41WzW0HQ.js → index-Djvu9TqC.js} +8 -8
- package/dist/{index-DWRuDpPB.js → index-GuVmUiOk.js} +1 -1
- package/dist/{index-rsQ55kHW.cjs → index-RK4ejtZg.cjs} +1 -1
- package/dist/{index-CO1MoNNj.cjs → index-TdIgNVKx.cjs} +1 -1
- package/dist/{index-CksMAtZu.cjs → index-UEe32A7X.cjs} +161 -161
- package/dist/{index-gv4Kx45I.cjs → index-feWSPCw8.cjs} +1 -1
- package/dist/index-q45-pnfC.js +5632 -0
- package/dist/{index-C9giOxZg.js → index-znmNCY8T.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-CI6HPiSn.js → index.vue_vue_type_script_setup_true_lang-DCkScM42.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dhlx6gOT.cjs → index.vue_vue_type_script_setup_true_lang-DXsUWEZn.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_62633fa4_lang-CMqyfT8F.js +1146 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_62633fa4_lang-CtS3lsVS.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-CUJRJXLZ.js → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-BxpfZWjj.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-BRb9nIeN.cjs → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-tJav1eMA.cjs} +1 -1
- package/dist/{login-DFyLmZjC.js → login-B19t0BgJ.js} +2 -2
- package/dist/{login-DI3Yef8J.cjs → login-CIjEq-GP.cjs} +1 -1
- package/dist/{main-MMs-Ocq5.cjs → main-EHe9Q7Jw.cjs} +1 -1
- package/dist/{main-KRl16v8X.js → main-vsUpk0Pc.js} +7 -7
- package/dist/{menu-ClaTWnGZ.cjs → menu-BwznZPTB.cjs} +1 -1
- package/dist/{menu-9axm5sPU.js → menu-DXatuTQB.js} +1 -1
- package/dist/model/final.pcd +19333 -0
- package/dist/model/target.pcd +29276 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/public/model/final.pcd +19333 -0
- package/public/model/target.pcd +29276 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-Coyk-8_r.js +0 -5421
- package/dist/index-aBU24Yq6.cjs +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_63a4bd9d_lang-BRkLNqo1.js +0 -1091
- package/dist/index.vue_vue_type_style_index_0_scoped_63a4bd9d_lang-C-PKZjBI.cjs +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as at, watch as Vi, nextTick as oh, resolveComponent as hu, createBlock as zo, openBlock as en, withCtx as hn, createElementVNode as wt, renderSlot as ul, onMounted as ko, createElementBlock as Ln, toDisplayString as fi, createCommentVNode as fu, Fragment as du, renderList as pu, normalizeStyle as mu, createVNode as vn, unref as lh, defineComponent as ch, createSlots as uh } from "vue";
|
|
2
|
-
import { p as mr } from "./index-
|
|
3
|
-
import { f as Gs, i as hl, g as tn, c as gu, d as Ds, u as _u, e as hh, s as Nr } from "./menu-
|
|
4
|
-
import { a3 as fh, S as fl, a4 as dh, i as dl, a5 as pl, a6 as ph } from "./index-
|
|
5
|
-
import { b as Ls, g as Us, k as ml, l as mh, n as gh, s as gl } from "./index-
|
|
2
|
+
import { p as mr } from "./index-BHVJl56b.js";
|
|
3
|
+
import { f as Gs, i as hl, g as tn, c as gu, d as Ds, u as _u, e as hh, s as Nr } from "./menu-DXatuTQB.js";
|
|
4
|
+
import { a3 as fh, S as fl, a4 as dh, i as dl, a5 as pl, a6 as ph } from "./index-Bo9FXjtY.js";
|
|
5
|
+
import { b as Ls, g as Us, k as ml, l as mh, n as gh, s as gl } from "./index-B5xspgKx.js";
|
|
6
6
|
import { _ as Vo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { U as _l, g as vl, h as xl, j as yl, S as Qs, k as _h, c as Te } from "./cloneDeep-
|
|
7
|
+
import { U as _l, g as vl, h as xl, j as yl, S as Qs, k as _h, c as Te } from "./cloneDeep-_BP6PqFE.js";
|
|
8
8
|
var vh = "__lodash_hash_undefined__";
|
|
9
9
|
function xh(i) {
|
|
10
10
|
return this.__data__.set(i, vh), this;
|
|
@@ -376,7 +376,7 @@ const jh = Gs("modelComp", {
|
|
|
376
376
|
* Copyright 2010-2025 Three.js Authors
|
|
377
377
|
* SPDX-License-Identifier: MIT
|
|
378
378
|
*/
|
|
379
|
-
const Ho = "177", fx = { ROTATE: 0, DOLLY: 1, PAN: 2 }, dx = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, of = 0, Tl = 1, lf = 2, yu = 1, cf = 2, Pn = 3, Jn = 0,
|
|
379
|
+
const Ho = "177", fx = { ROTATE: 0, DOLLY: 1, PAN: 2 }, dx = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, of = 0, Tl = 1, lf = 2, yu = 1, cf = 2, Pn = 3, Jn = 0, zt = 1, Dn = 2, jn = 0, Hi = 1, Al = 2, wl = 3, Rl = 4, uf = 5, di = 100, hf = 101, ff = 102, df = 103, pf = 104, mf = 200, gf = 201, _f = 202, vf = 203, Ha = 204, Ga = 205, xf = 206, yf = 207, Sf = 208, Mf = 209, Ef = 210, bf = 211, Tf = 212, Af = 213, wf = 214, Wa = 0, Xa = 1, qa = 2, Xi = 3, Ya = 4, Ka = 5, ja = 6, $a = 7, Ws = 0, Rf = 1, Cf = 2, $n = 0, Pf = 1, Df = 2, Lf = 3, Uf = 4, If = 5, Nf = 6, Ff = 7, Cl = "attached", Of = "detached", Su = 300, qi = 301, Yi = 302, Ja = 303, Za = 304, Xs = 306, yr = 1e3, Un = 1001, Qa = 1002, jt = 1003, Bf = 1004, Or = 1005, Kt = 1006, ta = 1007, Kn = 1008, En = 1009, Mu = 1010, Eu = 1011, Sr = 1012, Go = 1013, _i = 1014, yn = 1015, wr = 1016, Wo = 1017, Xo = 1018, Mr = 1020, bu = 35902, Tu = 1021, Au = 1022, rn = 1023, Er = 1026, br = 1027, wu = 1028, qo = 1029, Ru = 1030, Yo = 1031, Ko = 1033, Es = 33776, bs = 33777, Ts = 33778, As = 33779, eo = 35840, to = 35841, no = 35842, io = 35843, ro = 36196, so = 37492, ao = 37496, oo = 37808, lo = 37809, co = 37810, uo = 37811, ho = 37812, fo = 37813, po = 37814, mo = 37815, go = 37816, _o = 37817, vo = 37818, xo = 37819, yo = 37820, So = 37821, ws = 36492, Mo = 36494, Eo = 36495, Cu = 36283, bo = 36284, To = 36285, Ao = 36286, Ns = 2300, wo = 2301, na = 2302, Pl = 2400, Dl = 2401, Ll = 2402, zf = 2500, kf = 3200, Vf = 3201, jo = 0, Hf = 1, Yn = "", Yt = "srgb", Ki = "srgb-linear", Fs = "linear", ct = "srgb", Si = 7680, Ul = 519, Gf = 512, Wf = 513, Xf = 514, Pu = 515, qf = 516, Yf = 517, Kf = 518, jf = 519, Ro = 35044, Il = "300 es", In = 2e3, Os = 2001;
|
|
380
380
|
class xi {
|
|
381
381
|
/**
|
|
382
382
|
* Adds the given event listener to the given event type.
|
|
@@ -7778,7 +7778,7 @@ class Ji extends zn {
|
|
|
7778
7778
|
}
|
|
7779
7779
|
const mt = /* @__PURE__ */ new L(), qr = /* @__PURE__ */ new Ge();
|
|
7780
7780
|
let Dd = 0;
|
|
7781
|
-
class
|
|
7781
|
+
class Ut {
|
|
7782
7782
|
/**
|
|
7783
7783
|
* Constructs a new buffer attribute.
|
|
7784
7784
|
*
|
|
@@ -8100,7 +8100,7 @@ class zt {
|
|
|
8100
8100
|
return this.name !== "" && (e.name = this.name), this.usage !== Ro && (e.usage = this.usage), e;
|
|
8101
8101
|
}
|
|
8102
8102
|
}
|
|
8103
|
-
class Iu extends
|
|
8103
|
+
class Iu extends Ut {
|
|
8104
8104
|
/**
|
|
8105
8105
|
* Constructs a new buffer attribute.
|
|
8106
8106
|
*
|
|
@@ -8112,7 +8112,19 @@ class Iu extends zt {
|
|
|
8112
8112
|
super(new Uint16Array(e), t, n);
|
|
8113
8113
|
}
|
|
8114
8114
|
}
|
|
8115
|
-
class
|
|
8115
|
+
class px extends Ut {
|
|
8116
|
+
/**
|
|
8117
|
+
* Constructs a new buffer attribute.
|
|
8118
|
+
*
|
|
8119
|
+
* @param {(Array<number>|Int32Array)} array - The array holding the attribute data.
|
|
8120
|
+
* @param {number} itemSize - The item size.
|
|
8121
|
+
* @param {boolean} [normalized=false] - Whether the data are normalized or not.
|
|
8122
|
+
*/
|
|
8123
|
+
constructor(e, t, n) {
|
|
8124
|
+
super(new Int32Array(e), t, n);
|
|
8125
|
+
}
|
|
8126
|
+
}
|
|
8127
|
+
class Nu extends Ut {
|
|
8116
8128
|
/**
|
|
8117
8129
|
* Constructs a new buffer attribute.
|
|
8118
8130
|
*
|
|
@@ -8124,7 +8136,7 @@ class Nu extends zt {
|
|
|
8124
8136
|
super(new Uint32Array(e), t, n);
|
|
8125
8137
|
}
|
|
8126
8138
|
}
|
|
8127
|
-
class Mt extends
|
|
8139
|
+
class Mt extends Ut {
|
|
8128
8140
|
/**
|
|
8129
8141
|
* Constructs a new buffer attribute.
|
|
8130
8142
|
*
|
|
@@ -8138,7 +8150,7 @@ class Mt extends zt {
|
|
|
8138
8150
|
}
|
|
8139
8151
|
let Ld = 0;
|
|
8140
8152
|
const Qt = /* @__PURE__ */ new je(), Sa = /* @__PURE__ */ new ut(), Di = /* @__PURE__ */ new L(), qt = /* @__PURE__ */ new On(), lr = /* @__PURE__ */ new On(), St = /* @__PURE__ */ new L();
|
|
8141
|
-
class
|
|
8153
|
+
class It extends xi {
|
|
8142
8154
|
/**
|
|
8143
8155
|
* Constructs a new geometry.
|
|
8144
8156
|
*/
|
|
@@ -8453,7 +8465,7 @@ class Ut extends xi {
|
|
|
8453
8465
|
return;
|
|
8454
8466
|
}
|
|
8455
8467
|
const n = t.position, r = t.normal, s = t.uv;
|
|
8456
|
-
this.hasAttribute("tangent") === !1 && this.setAttribute("tangent", new
|
|
8468
|
+
this.hasAttribute("tangent") === !1 && this.setAttribute("tangent", new Ut(new Float32Array(4 * n.count), 4));
|
|
8457
8469
|
const a = this.getAttribute("tangent"), o = [], l = [];
|
|
8458
8470
|
for (let D = 0; D < n.count; D++)
|
|
8459
8471
|
o[D] = new L(), l[D] = new L();
|
|
@@ -8502,7 +8514,7 @@ class Ut extends xi {
|
|
|
8502
8514
|
if (t !== void 0) {
|
|
8503
8515
|
let n = this.getAttribute("normal");
|
|
8504
8516
|
if (n === void 0)
|
|
8505
|
-
n = new
|
|
8517
|
+
n = new Ut(new Float32Array(t.count * 3), 3), this.setAttribute("normal", n);
|
|
8506
8518
|
else
|
|
8507
8519
|
for (let f = 0, p = n.count; f < p; f++)
|
|
8508
8520
|
n.setXYZ(f, 0, 0, 0);
|
|
@@ -8542,11 +8554,11 @@ class Ut extends xi {
|
|
|
8542
8554
|
for (let d = 0; d < u; d++)
|
|
8543
8555
|
f[g++] = c[p++];
|
|
8544
8556
|
}
|
|
8545
|
-
return new
|
|
8557
|
+
return new Ut(f, u, h);
|
|
8546
8558
|
}
|
|
8547
8559
|
if (this.index === null)
|
|
8548
8560
|
return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."), this;
|
|
8549
|
-
const t = new
|
|
8561
|
+
const t = new It(), n = this.index.array, r = this.attributes;
|
|
8550
8562
|
for (const o in r) {
|
|
8551
8563
|
const l = r[o], c = e(l, n);
|
|
8552
8564
|
t.setAttribute(o, c);
|
|
@@ -8675,7 +8687,7 @@ class Lt extends ut {
|
|
|
8675
8687
|
* @param {BufferGeometry} [geometry] - The mesh geometry.
|
|
8676
8688
|
* @param {Material|Array<Material>} [material] - The mesh material.
|
|
8677
8689
|
*/
|
|
8678
|
-
constructor(e = new
|
|
8690
|
+
constructor(e = new It(), t = new Ji()) {
|
|
8679
8691
|
super(), this.isMesh = !0, this.type = "Mesh", this.geometry = e, this.material = t, this.morphTargetDictionary = void 0, this.morphTargetInfluences = void 0, this.count = 1, this.updateMorphTargets();
|
|
8680
8692
|
}
|
|
8681
8693
|
copy(e, t) {
|
|
@@ -8769,7 +8781,7 @@ class Lt extends ut {
|
|
|
8769
8781
|
}
|
|
8770
8782
|
function Ud(i, e, t, n, r, s, a, o) {
|
|
8771
8783
|
let l;
|
|
8772
|
-
if (e.side ===
|
|
8784
|
+
if (e.side === zt ? l = n.intersectTriangle(a, s, r, !0, o) : l = n.intersectTriangle(r, s, a, e.side === Jn, o), l === null) return null;
|
|
8773
8785
|
Zr.copy(o), Zr.applyMatrix4(i.matrixWorld);
|
|
8774
8786
|
const c = t.ray.origin.distanceTo(Zr);
|
|
8775
8787
|
return c < t.near || c > t.far ? null : {
|
|
@@ -8795,7 +8807,7 @@ function Qr(i, e, t, n, r, s, a, o, l, c) {
|
|
|
8795
8807
|
}
|
|
8796
8808
|
return u;
|
|
8797
8809
|
}
|
|
8798
|
-
class Cr extends
|
|
8810
|
+
class Cr extends It {
|
|
8799
8811
|
/**
|
|
8800
8812
|
* Constructs a new box geometry.
|
|
8801
8813
|
*
|
|
@@ -8864,7 +8876,7 @@ function $i(i) {
|
|
|
8864
8876
|
}
|
|
8865
8877
|
return e;
|
|
8866
8878
|
}
|
|
8867
|
-
function
|
|
8879
|
+
function Bt(i) {
|
|
8868
8880
|
const e = {};
|
|
8869
8881
|
for (let t = 0; t < i.length; t++) {
|
|
8870
8882
|
const n = $i(i[t]);
|
|
@@ -8883,7 +8895,7 @@ function Fu(i) {
|
|
|
8883
8895
|
const e = i.getRenderTarget();
|
|
8884
8896
|
return e === null ? i.outputColorSpace : e.isXRRenderTarget === !0 ? e.texture.colorSpace : it.workingColorSpace;
|
|
8885
8897
|
}
|
|
8886
|
-
const Qo = { clone: $i, merge:
|
|
8898
|
+
const Qo = { clone: $i, merge: Bt };
|
|
8887
8899
|
var Nd = `void main() {
|
|
8888
8900
|
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
8889
8901
|
}`, Fd = `void main() {
|
|
@@ -9309,7 +9321,7 @@ class Bd extends vi {
|
|
|
9309
9321
|
uniforms: $i(n.uniforms),
|
|
9310
9322
|
vertexShader: n.vertexShader,
|
|
9311
9323
|
fragmentShader: n.fragmentShader,
|
|
9312
|
-
side:
|
|
9324
|
+
side: zt,
|
|
9313
9325
|
blending: jn
|
|
9314
9326
|
});
|
|
9315
9327
|
s.uniforms.tEquirect.value = t;
|
|
@@ -9592,7 +9604,7 @@ class zu {
|
|
|
9592
9604
|
};
|
|
9593
9605
|
}
|
|
9594
9606
|
}
|
|
9595
|
-
const
|
|
9607
|
+
const Ft = /* @__PURE__ */ new L();
|
|
9596
9608
|
class Sn {
|
|
9597
9609
|
/**
|
|
9598
9610
|
* Constructs a new interleaved buffer attribute.
|
|
@@ -9642,7 +9654,7 @@ class Sn {
|
|
|
9642
9654
|
*/
|
|
9643
9655
|
applyMatrix4(e) {
|
|
9644
9656
|
for (let t = 0, n = this.data.count; t < n; t++)
|
|
9645
|
-
|
|
9657
|
+
Ft.fromBufferAttribute(this, t), Ft.applyMatrix4(e), this.setXYZ(t, Ft.x, Ft.y, Ft.z);
|
|
9646
9658
|
return this;
|
|
9647
9659
|
}
|
|
9648
9660
|
/**
|
|
@@ -9654,7 +9666,7 @@ class Sn {
|
|
|
9654
9666
|
*/
|
|
9655
9667
|
applyNormalMatrix(e) {
|
|
9656
9668
|
for (let t = 0, n = this.count; t < n; t++)
|
|
9657
|
-
|
|
9669
|
+
Ft.fromBufferAttribute(this, t), Ft.applyNormalMatrix(e), this.setXYZ(t, Ft.x, Ft.y, Ft.z);
|
|
9658
9670
|
return this;
|
|
9659
9671
|
}
|
|
9660
9672
|
/**
|
|
@@ -9666,7 +9678,7 @@ class Sn {
|
|
|
9666
9678
|
*/
|
|
9667
9679
|
transformDirection(e) {
|
|
9668
9680
|
for (let t = 0, n = this.count; t < n; t++)
|
|
9669
|
-
|
|
9681
|
+
Ft.fromBufferAttribute(this, t), Ft.transformDirection(e), this.setXYZ(t, Ft.x, Ft.y, Ft.z);
|
|
9670
9682
|
return this;
|
|
9671
9683
|
}
|
|
9672
9684
|
/**
|
|
@@ -9824,7 +9836,7 @@ class Sn {
|
|
|
9824
9836
|
for (let s = 0; s < this.itemSize; s++)
|
|
9825
9837
|
t.push(this.data.array[r + s]);
|
|
9826
9838
|
}
|
|
9827
|
-
return new
|
|
9839
|
+
return new Ut(new this.array.constructor(t), this.itemSize, this.normalized);
|
|
9828
9840
|
} else
|
|
9829
9841
|
return e.interleavedBuffers === void 0 && (e.interleavedBuffers = {}), e.interleavedBuffers[this.data.uuid] === void 0 && (e.interleavedBuffers[this.data.uuid] = this.data.clone(e)), new Sn(e.interleavedBuffers[this.data.uuid], this.itemSize, this.offset, this.normalized);
|
|
9830
9842
|
}
|
|
@@ -9888,7 +9900,7 @@ class el extends ut {
|
|
|
9888
9900
|
*/
|
|
9889
9901
|
constructor(e = new qs()) {
|
|
9890
9902
|
if (super(), this.isSprite = !0, this.type = "Sprite", Ii === void 0) {
|
|
9891
|
-
Ii = new
|
|
9903
|
+
Ii = new It();
|
|
9892
9904
|
const t = new Float32Array([
|
|
9893
9905
|
-0.5,
|
|
9894
9906
|
-0.5,
|
|
@@ -9948,7 +9960,7 @@ function is(i, e, t, n, r, s) {
|
|
|
9948
9960
|
Oi.subVectors(i, t).addScalar(0.5).multiply(n), r !== void 0 ? (ur.x = s * Oi.x - r * Oi.y, ur.y = r * Oi.x + s * Oi.y) : ur.copy(Oi), i.copy(e), i.x += ur.x, i.y += ur.y, i.applyMatrix4(ku);
|
|
9949
9961
|
}
|
|
9950
9962
|
const tc = /* @__PURE__ */ new L(), nc = /* @__PURE__ */ new Qe(), ic = /* @__PURE__ */ new Qe(), Vd = /* @__PURE__ */ new L(), rc = /* @__PURE__ */ new je(), rs = /* @__PURE__ */ new L(), Ta = /* @__PURE__ */ new Bn(), sc = /* @__PURE__ */ new je(), Aa = /* @__PURE__ */ new Rr();
|
|
9951
|
-
class
|
|
9963
|
+
class mx extends Lt {
|
|
9952
9964
|
/**
|
|
9953
9965
|
* Constructs a new skinned mesh.
|
|
9954
9966
|
*
|
|
@@ -10594,7 +10606,7 @@ class Yd extends ut {
|
|
|
10594
10606
|
* @param {BufferGeometry} [geometry] - The line geometry.
|
|
10595
10607
|
* @param {Material|Array<Material>} [material] - The line material.
|
|
10596
10608
|
*/
|
|
10597
|
-
constructor(e = new
|
|
10609
|
+
constructor(e = new It(), t = new qd()) {
|
|
10598
10610
|
super(), this.isLine = !0, this.type = "Line", this.geometry = e, this.material = t, this.morphTargetDictionary = void 0, this.morphTargetInfluences = void 0, this.updateMorphTargets();
|
|
10599
10611
|
}
|
|
10600
10612
|
copy(e, t) {
|
|
@@ -10688,7 +10700,7 @@ function os(i, e, t, n, r, s, a) {
|
|
|
10688
10700
|
};
|
|
10689
10701
|
}
|
|
10690
10702
|
const cc = /* @__PURE__ */ new L(), uc = /* @__PURE__ */ new L();
|
|
10691
|
-
class
|
|
10703
|
+
class gx extends Yd {
|
|
10692
10704
|
/**
|
|
10693
10705
|
* Constructs a new line segments.
|
|
10694
10706
|
*
|
|
@@ -10728,14 +10740,14 @@ class Kd extends zn {
|
|
|
10728
10740
|
}
|
|
10729
10741
|
}
|
|
10730
10742
|
const hc = /* @__PURE__ */ new je(), Co = /* @__PURE__ */ new Rr(), ls = /* @__PURE__ */ new Bn(), cs = /* @__PURE__ */ new L();
|
|
10731
|
-
class
|
|
10743
|
+
class _x extends ut {
|
|
10732
10744
|
/**
|
|
10733
10745
|
* Constructs a new point cloud.
|
|
10734
10746
|
*
|
|
10735
10747
|
* @param {BufferGeometry} [geometry] - The points geometry.
|
|
10736
10748
|
* @param {Material|Array<Material>} [material] - The points material.
|
|
10737
10749
|
*/
|
|
10738
|
-
constructor(e = new
|
|
10750
|
+
constructor(e = new It(), t = new Kd()) {
|
|
10739
10751
|
super(), this.isPoints = !0, this.type = "Points", this.geometry = e, this.material = t, this.morphTargetDictionary = void 0, this.morphTargetInfluences = void 0, this.updateMorphTargets();
|
|
10740
10752
|
}
|
|
10741
10753
|
copy(e, t) {
|
|
@@ -10849,7 +10861,7 @@ class Gu extends Rt {
|
|
|
10849
10861
|
return this.compareFunction !== null && (t.compareFunction = this.compareFunction), t;
|
|
10850
10862
|
}
|
|
10851
10863
|
}
|
|
10852
|
-
class Wu extends
|
|
10864
|
+
class Wu extends It {
|
|
10853
10865
|
/**
|
|
10854
10866
|
* Constructs a new cylinder geometry.
|
|
10855
10867
|
*
|
|
@@ -10932,7 +10944,7 @@ class Wu extends Ut {
|
|
|
10932
10944
|
return new Wu(e.radiusTop, e.radiusBottom, e.height, e.radialSegments, e.heightSegments, e.openEnded, e.thetaStart, e.thetaLength);
|
|
10933
10945
|
}
|
|
10934
10946
|
}
|
|
10935
|
-
class Ys extends
|
|
10947
|
+
class Ys extends It {
|
|
10936
10948
|
/**
|
|
10937
10949
|
* Constructs a new plane geometry.
|
|
10938
10950
|
*
|
|
@@ -10977,7 +10989,7 @@ class Ys extends Ut {
|
|
|
10977
10989
|
return new Ys(e.width, e.height, e.widthSegments, e.heightSegments);
|
|
10978
10990
|
}
|
|
10979
10991
|
}
|
|
10980
|
-
class nl extends
|
|
10992
|
+
class nl extends It {
|
|
10981
10993
|
/**
|
|
10982
10994
|
* Constructs a new sphere geometry.
|
|
10983
10995
|
*
|
|
@@ -11033,7 +11045,7 @@ class nl extends Ut {
|
|
|
11033
11045
|
return new nl(e.radius, e.widthSegments, e.heightSegments, e.phiStart, e.phiLength, e.thetaStart, e.thetaLength);
|
|
11034
11046
|
}
|
|
11035
11047
|
}
|
|
11036
|
-
class $d extends
|
|
11048
|
+
class $d extends It {
|
|
11037
11049
|
/**
|
|
11038
11050
|
* Constructs a new wireframe geometry.
|
|
11039
11051
|
*
|
|
@@ -11075,7 +11087,7 @@ function dc(i, e, t) {
|
|
|
11075
11087
|
const n = `${i.x},${i.y},${i.z}-${e.x},${e.y},${e.z}`, r = `${e.x},${e.y},${e.z}-${i.x},${i.y},${i.z}`;
|
|
11076
11088
|
return t.has(n) === !0 || t.has(r) === !0 ? !1 : (t.add(n), t.add(r), !0);
|
|
11077
11089
|
}
|
|
11078
|
-
class
|
|
11090
|
+
class vx extends zn {
|
|
11079
11091
|
/**
|
|
11080
11092
|
* Constructs a new mesh phong material.
|
|
11081
11093
|
*
|
|
@@ -11092,7 +11104,7 @@ class _x extends zn {
|
|
|
11092
11104
|
return super.copy(e), this.color.copy(e.color), this.specular.copy(e.specular), this.shininess = e.shininess, this.map = e.map, this.lightMap = e.lightMap, this.lightMapIntensity = e.lightMapIntensity, this.aoMap = e.aoMap, this.aoMapIntensity = e.aoMapIntensity, this.emissive.copy(e.emissive), this.emissiveMap = e.emissiveMap, this.emissiveIntensity = e.emissiveIntensity, this.bumpMap = e.bumpMap, this.bumpScale = e.bumpScale, this.normalMap = e.normalMap, this.normalMapType = e.normalMapType, this.normalScale.copy(e.normalScale), this.displacementMap = e.displacementMap, this.displacementScale = e.displacementScale, this.displacementBias = e.displacementBias, this.specularMap = e.specularMap, this.alphaMap = e.alphaMap, this.envMap = e.envMap, this.envMapRotation.copy(e.envMapRotation), this.combine = e.combine, this.reflectivity = e.reflectivity, this.refractionRatio = e.refractionRatio, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.wireframeLinecap = e.wireframeLinecap, this.wireframeLinejoin = e.wireframeLinejoin, this.flatShading = e.flatShading, this.fog = e.fog, this;
|
|
11093
11105
|
}
|
|
11094
11106
|
}
|
|
11095
|
-
class
|
|
11107
|
+
class xx extends zn {
|
|
11096
11108
|
/**
|
|
11097
11109
|
* Constructs a new mesh lambert material.
|
|
11098
11110
|
*
|
|
@@ -11771,7 +11783,7 @@ class Vs extends pn {
|
|
|
11771
11783
|
}
|
|
11772
11784
|
}
|
|
11773
11785
|
Vs.prototype.ValueTypeName = "vector";
|
|
11774
|
-
class
|
|
11786
|
+
class yx {
|
|
11775
11787
|
/**
|
|
11776
11788
|
* Constructs a new animation clip.
|
|
11777
11789
|
*
|
|
@@ -12438,7 +12450,7 @@ class hp extends Pr {
|
|
|
12438
12450
|
return o.addEventListener("load", l, !1), o.addEventListener("error", c, !1), e.slice(0, 5) !== "data:" && this.crossOrigin !== void 0 && (o.crossOrigin = this.crossOrigin), s.manager.itemStart(e), o.src = e, o;
|
|
12439
12451
|
}
|
|
12440
12452
|
}
|
|
12441
|
-
class
|
|
12453
|
+
class Sx extends Pr {
|
|
12442
12454
|
/**
|
|
12443
12455
|
* Constructs a new data texture loader.
|
|
12444
12456
|
*
|
|
@@ -12477,7 +12489,7 @@ class yx extends Pr {
|
|
|
12477
12489
|
}, n, r), a;
|
|
12478
12490
|
}
|
|
12479
12491
|
}
|
|
12480
|
-
class
|
|
12492
|
+
class Mx extends Pr {
|
|
12481
12493
|
/**
|
|
12482
12494
|
* Constructs a new texture loader.
|
|
12483
12495
|
*
|
|
@@ -12529,7 +12541,7 @@ class Dr extends ut {
|
|
|
12529
12541
|
return t.object.color = this.color.getHex(), t.object.intensity = this.intensity, this.groundColor !== void 0 && (t.object.groundColor = this.groundColor.getHex()), this.distance !== void 0 && (t.object.distance = this.distance), this.angle !== void 0 && (t.object.angle = this.angle), this.decay !== void 0 && (t.object.decay = this.decay), this.penumbra !== void 0 && (t.object.penumbra = this.penumbra), this.shadow !== void 0 && (t.object.shadow = this.shadow.toJSON()), this.target !== void 0 && (t.object.target = this.target.uuid), t;
|
|
12530
12542
|
}
|
|
12531
12543
|
}
|
|
12532
|
-
class
|
|
12544
|
+
class Ex extends Dr {
|
|
12533
12545
|
/**
|
|
12534
12546
|
* Constructs a new hemisphere light.
|
|
12535
12547
|
*
|
|
@@ -12666,7 +12678,7 @@ class fp extends il {
|
|
|
12666
12678
|
return super.copy(e), this.focus = e.focus, this;
|
|
12667
12679
|
}
|
|
12668
12680
|
}
|
|
12669
|
-
class
|
|
12681
|
+
class bx extends Dr {
|
|
12670
12682
|
/**
|
|
12671
12683
|
* Constructs a new spot light.
|
|
12672
12684
|
*
|
|
@@ -12757,7 +12769,7 @@ class dp extends il {
|
|
|
12757
12769
|
s !== n.far && (n.far = s, n.updateProjectionMatrix()), dr.setFromMatrixPosition(e.matrixWorld), n.position.copy(dr), Pa.copy(n.position), Pa.add(this._cubeDirections[t]), n.up.copy(this._cubeUps[t]), n.lookAt(Pa), n.updateMatrixWorld(), r.makeTranslation(-dr.x, -dr.y, -dr.z), _c.multiplyMatrices(n.projectionMatrix, n.matrixWorldInverse), this._frustum.setFromProjectionMatrix(_c);
|
|
12758
12770
|
}
|
|
12759
12771
|
}
|
|
12760
|
-
class
|
|
12772
|
+
class Tx extends Dr {
|
|
12761
12773
|
/**
|
|
12762
12774
|
* Constructs a new point light.
|
|
12763
12775
|
*
|
|
@@ -12860,7 +12872,7 @@ class pp extends il {
|
|
|
12860
12872
|
super(new rl(-5, 5, 5, -5, 0.5, 500)), this.isDirectionalLightShadow = !0;
|
|
12861
12873
|
}
|
|
12862
12874
|
}
|
|
12863
|
-
class
|
|
12875
|
+
class Ax extends Dr {
|
|
12864
12876
|
/**
|
|
12865
12877
|
* Constructs a new directional light.
|
|
12866
12878
|
*
|
|
@@ -12877,7 +12889,7 @@ class Tx extends Dr {
|
|
|
12877
12889
|
return super.copy(e), this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
|
|
12878
12890
|
}
|
|
12879
12891
|
}
|
|
12880
|
-
class
|
|
12892
|
+
class wx extends Dr {
|
|
12881
12893
|
/**
|
|
12882
12894
|
* Constructs a new ambient light.
|
|
12883
12895
|
*
|
|
@@ -12888,7 +12900,7 @@ class Ax extends Dr {
|
|
|
12888
12900
|
super(e, t), this.isAmbientLight = !0, this.type = "AmbientLight";
|
|
12889
12901
|
}
|
|
12890
12902
|
}
|
|
12891
|
-
class
|
|
12903
|
+
class Rx {
|
|
12892
12904
|
/**
|
|
12893
12905
|
* Extracts the base URL from the given URL.
|
|
12894
12906
|
*
|
|
@@ -12912,7 +12924,7 @@ class wx {
|
|
|
12912
12924
|
return typeof e != "string" || e === "" ? "" : (/^https?:\/\//i.test(t) && /^\//.test(e) && (t = t.replace(/(^https?:\/\/[^\/]+).*/i, "$1")), /^(https?:)?\/\//i.test(e) || /^data:.*,.*$/i.test(e) || /^blob:.*$/i.test(e) ? e : t + e);
|
|
12913
12925
|
}
|
|
12914
12926
|
}
|
|
12915
|
-
class mp extends
|
|
12927
|
+
class mp extends It {
|
|
12916
12928
|
/**
|
|
12917
12929
|
* Constructs a new instanced buffer geometry.
|
|
12918
12930
|
*/
|
|
@@ -13318,7 +13330,7 @@ class yp {
|
|
|
13318
13330
|
return new this.constructor().copy(this);
|
|
13319
13331
|
}
|
|
13320
13332
|
}
|
|
13321
|
-
class
|
|
13333
|
+
class Cx extends xi {
|
|
13322
13334
|
/**
|
|
13323
13335
|
* Constructs a new controls instance.
|
|
13324
13336
|
*
|
|
@@ -17424,7 +17436,7 @@ void main() {
|
|
|
17424
17436
|
}
|
|
17425
17437
|
}, Ht = {
|
|
17426
17438
|
basic: {
|
|
17427
|
-
uniforms: /* @__PURE__ */
|
|
17439
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17428
17440
|
ue.common,
|
|
17429
17441
|
ue.specularmap,
|
|
17430
17442
|
ue.envmap,
|
|
@@ -17436,7 +17448,7 @@ void main() {
|
|
|
17436
17448
|
fragmentShader: Ye.meshbasic_frag
|
|
17437
17449
|
},
|
|
17438
17450
|
lambert: {
|
|
17439
|
-
uniforms: /* @__PURE__ */
|
|
17451
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17440
17452
|
ue.common,
|
|
17441
17453
|
ue.specularmap,
|
|
17442
17454
|
ue.envmap,
|
|
@@ -17456,7 +17468,7 @@ void main() {
|
|
|
17456
17468
|
fragmentShader: Ye.meshlambert_frag
|
|
17457
17469
|
},
|
|
17458
17470
|
phong: {
|
|
17459
|
-
uniforms: /* @__PURE__ */
|
|
17471
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17460
17472
|
ue.common,
|
|
17461
17473
|
ue.specularmap,
|
|
17462
17474
|
ue.envmap,
|
|
@@ -17478,7 +17490,7 @@ void main() {
|
|
|
17478
17490
|
fragmentShader: Ye.meshphong_frag
|
|
17479
17491
|
},
|
|
17480
17492
|
standard: {
|
|
17481
|
-
uniforms: /* @__PURE__ */
|
|
17493
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17482
17494
|
ue.common,
|
|
17483
17495
|
ue.envmap,
|
|
17484
17496
|
ue.aomap,
|
|
@@ -17502,7 +17514,7 @@ void main() {
|
|
|
17502
17514
|
fragmentShader: Ye.meshphysical_frag
|
|
17503
17515
|
},
|
|
17504
17516
|
toon: {
|
|
17505
|
-
uniforms: /* @__PURE__ */
|
|
17517
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17506
17518
|
ue.common,
|
|
17507
17519
|
ue.aomap,
|
|
17508
17520
|
ue.lightmap,
|
|
@@ -17521,7 +17533,7 @@ void main() {
|
|
|
17521
17533
|
fragmentShader: Ye.meshtoon_frag
|
|
17522
17534
|
},
|
|
17523
17535
|
matcap: {
|
|
17524
|
-
uniforms: /* @__PURE__ */
|
|
17536
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17525
17537
|
ue.common,
|
|
17526
17538
|
ue.bumpmap,
|
|
17527
17539
|
ue.normalmap,
|
|
@@ -17535,7 +17547,7 @@ void main() {
|
|
|
17535
17547
|
fragmentShader: Ye.meshmatcap_frag
|
|
17536
17548
|
},
|
|
17537
17549
|
points: {
|
|
17538
|
-
uniforms: /* @__PURE__ */
|
|
17550
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17539
17551
|
ue.points,
|
|
17540
17552
|
ue.fog
|
|
17541
17553
|
]),
|
|
@@ -17543,7 +17555,7 @@ void main() {
|
|
|
17543
17555
|
fragmentShader: Ye.points_frag
|
|
17544
17556
|
},
|
|
17545
17557
|
dashed: {
|
|
17546
|
-
uniforms: /* @__PURE__ */
|
|
17558
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17547
17559
|
ue.common,
|
|
17548
17560
|
ue.fog,
|
|
17549
17561
|
{
|
|
@@ -17556,7 +17568,7 @@ void main() {
|
|
|
17556
17568
|
fragmentShader: Ye.linedashed_frag
|
|
17557
17569
|
},
|
|
17558
17570
|
depth: {
|
|
17559
|
-
uniforms: /* @__PURE__ */
|
|
17571
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17560
17572
|
ue.common,
|
|
17561
17573
|
ue.displacementmap
|
|
17562
17574
|
]),
|
|
@@ -17564,7 +17576,7 @@ void main() {
|
|
|
17564
17576
|
fragmentShader: Ye.depth_frag
|
|
17565
17577
|
},
|
|
17566
17578
|
normal: {
|
|
17567
|
-
uniforms: /* @__PURE__ */
|
|
17579
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17568
17580
|
ue.common,
|
|
17569
17581
|
ue.bumpmap,
|
|
17570
17582
|
ue.normalmap,
|
|
@@ -17577,7 +17589,7 @@ void main() {
|
|
|
17577
17589
|
fragmentShader: Ye.meshnormal_frag
|
|
17578
17590
|
},
|
|
17579
17591
|
sprite: {
|
|
17580
|
-
uniforms: /* @__PURE__ */
|
|
17592
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17581
17593
|
ue.sprite,
|
|
17582
17594
|
ue.fog
|
|
17583
17595
|
]),
|
|
@@ -17621,7 +17633,7 @@ void main() {
|
|
|
17621
17633
|
fragmentShader: Ye.equirect_frag
|
|
17622
17634
|
},
|
|
17623
17635
|
distanceRGBA: {
|
|
17624
|
-
uniforms: /* @__PURE__ */
|
|
17636
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17625
17637
|
ue.common,
|
|
17626
17638
|
ue.displacementmap,
|
|
17627
17639
|
{
|
|
@@ -17634,7 +17646,7 @@ void main() {
|
|
|
17634
17646
|
fragmentShader: Ye.distanceRGBA_frag
|
|
17635
17647
|
},
|
|
17636
17648
|
shadow: {
|
|
17637
|
-
uniforms: /* @__PURE__ */
|
|
17649
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17638
17650
|
ue.lights,
|
|
17639
17651
|
ue.fog,
|
|
17640
17652
|
{
|
|
@@ -17647,7 +17659,7 @@ void main() {
|
|
|
17647
17659
|
}
|
|
17648
17660
|
};
|
|
17649
17661
|
Ht.physical = {
|
|
17650
|
-
uniforms: /* @__PURE__ */
|
|
17662
|
+
uniforms: /* @__PURE__ */ Bt([
|
|
17651
17663
|
Ht.standard.uniforms,
|
|
17652
17664
|
{
|
|
17653
17665
|
clearcoat: { value: 0 },
|
|
@@ -17723,7 +17735,7 @@ function i_(i, e, t, n, r, s, a) {
|
|
|
17723
17735
|
uniforms: $i(Ht.backgroundCube.uniforms),
|
|
17724
17736
|
vertexShader: Ht.backgroundCube.vertexShader,
|
|
17725
17737
|
fragmentShader: Ht.backgroundCube.fragmentShader,
|
|
17726
|
-
side:
|
|
17738
|
+
side: zt,
|
|
17727
17739
|
depthTest: !1,
|
|
17728
17740
|
depthWrite: !1,
|
|
17729
17741
|
fog: !1,
|
|
@@ -18298,7 +18310,7 @@ class Ac {
|
|
|
18298
18310
|
h.getClearColor(bc), h.toneMapping = $n, h.autoClear = !1;
|
|
18299
18311
|
const g = new Ji({
|
|
18300
18312
|
name: "PMREM.Background",
|
|
18301
|
-
side:
|
|
18313
|
+
side: zt,
|
|
18302
18314
|
depthWrite: !1,
|
|
18303
18315
|
depthTest: !1
|
|
18304
18316
|
}), _ = new Lt(new Cr(), g);
|
|
@@ -18422,8 +18434,8 @@ function u_(i) {
|
|
|
18422
18434
|
const x = [C, C, C, C, C, C];
|
|
18423
18435
|
y.set(x, d * g * C);
|
|
18424
18436
|
}
|
|
18425
|
-
const P = new
|
|
18426
|
-
P.setAttribute("position", new
|
|
18437
|
+
const P = new It();
|
|
18438
|
+
P.setAttribute("position", new Ut(E, _)), P.setAttribute("uv", new Ut(T, m)), P.setAttribute("faceIndex", new Ut(y, d)), e.push(P), r > ki && r--;
|
|
18427
18439
|
}
|
|
18428
18440
|
return { lodPlanes: e, sizeLods: t, sigmas: n };
|
|
18429
18441
|
}
|
|
@@ -20177,7 +20189,7 @@ function Uv(i, e, t, n, r, s, a) {
|
|
|
20177
20189
|
decodeVideoTextureEmissive: Me && M.emissiveMap.isVideoTexture === !0 && it.getTransfer(M.emissiveMap.colorSpace) === ct,
|
|
20178
20190
|
premultipliedAlpha: M.premultipliedAlpha,
|
|
20179
20191
|
doubleSided: M.side === Dn,
|
|
20180
|
-
flipSided: M.side ===
|
|
20192
|
+
flipSided: M.side === zt,
|
|
20181
20193
|
useDepthPacking: M.depthPacking >= 0,
|
|
20182
20194
|
depthPacking: M.depthPacking || 0,
|
|
20183
20195
|
index0AttributeName: M.index0AttributeName,
|
|
@@ -20636,7 +20648,7 @@ void main() {
|
|
|
20636
20648
|
}`;
|
|
20637
20649
|
function Xv(i, e, t) {
|
|
20638
20650
|
let n = new tl();
|
|
20639
|
-
const r = new Ge(), s = new Ge(), a = new Qe(), o = new Jd({ depthPacking: Vf }), l = new Zd(), c = {}, u = t.maxTextureSize, h = { [Jn]:
|
|
20651
|
+
const r = new Ge(), s = new Ge(), a = new Qe(), o = new Jd({ depthPacking: Vf }), l = new Zd(), c = {}, u = t.maxTextureSize, h = { [Jn]: zt, [zt]: Jn, [Dn]: Dn }, f = new Fn({
|
|
20640
20652
|
defines: {
|
|
20641
20653
|
VSM_SAMPLES: 8
|
|
20642
20654
|
},
|
|
@@ -20649,10 +20661,10 @@ function Xv(i, e, t) {
|
|
|
20649
20661
|
fragmentShader: Wv
|
|
20650
20662
|
}), p = f.clone();
|
|
20651
20663
|
p.defines.HORIZONTAL_PASS = 1;
|
|
20652
|
-
const g = new
|
|
20664
|
+
const g = new It();
|
|
20653
20665
|
g.setAttribute(
|
|
20654
20666
|
"position",
|
|
20655
|
-
new
|
|
20667
|
+
new Ut(
|
|
20656
20668
|
new Float32Array([-1, -1, 0.5, 3, -1, 0.5, -1, 3, 0.5]),
|
|
20657
20669
|
3
|
|
20658
20670
|
)
|
|
@@ -20984,7 +20996,7 @@ function Yv(i, e) {
|
|
|
20984
20996
|
}
|
|
20985
20997
|
function Ce(U, me) {
|
|
20986
20998
|
U.side === Dn ? Le(i.CULL_FACE) : ve(i.CULL_FACE);
|
|
20987
|
-
let ee = U.side ===
|
|
20999
|
+
let ee = U.side === zt;
|
|
20988
21000
|
me && (ee = !ee), le(ee), U.blending === Hi && U.transparent === !1 ? A(jn) : A(U.blending, U.blendEquation, U.blendSrc, U.blendDst, U.blendEquationAlpha, U.blendSrcAlpha, U.blendDstAlpha, U.blendColor, U.blendAlpha, U.premultipliedAlpha), a.setFunc(U.depthFunc), a.setTest(U.depthTest), a.setMask(U.depthWrite), s.setMask(U.colorWrite);
|
|
20989
21001
|
const Ee = U.stencilWrite;
|
|
20990
21002
|
o.setTest(Ee), Ee && (o.setMask(U.stencilWriteMask), o.setFunc(U.stencilFunc, U.stencilRef, U.stencilFuncMask), o.setOp(U.stencilFail, U.stencilZFail, U.stencilZPass)), Me(U.polygonOffset, U.polygonOffsetFactor, U.polygonOffsetUnits), U.alphaToCoverage === !0 ? ve(i.SAMPLE_ALPHA_TO_COVERAGE) : Le(i.SAMPLE_ALPHA_TO_COVERAGE);
|
|
@@ -22139,7 +22151,7 @@ function t0(i, e) {
|
|
|
22139
22151
|
d.isMeshBasicMaterial || d.isMeshLambertMaterial ? s(m, d) : d.isMeshToonMaterial ? (s(m, d), h(m, d)) : d.isMeshPhongMaterial ? (s(m, d), u(m, d)) : d.isMeshStandardMaterial ? (s(m, d), f(m, d), d.isMeshPhysicalMaterial && p(m, d, y)) : d.isMeshMatcapMaterial ? (s(m, d), g(m, d)) : d.isMeshDepthMaterial ? s(m, d) : d.isMeshDistanceMaterial ? (s(m, d), _(m, d)) : d.isMeshNormalMaterial ? s(m, d) : d.isLineBasicMaterial ? (a(m, d), d.isLineDashedMaterial && o(m, d)) : d.isPointsMaterial ? l(m, d, E, T) : d.isSpriteMaterial ? c(m, d) : d.isShadowMaterial ? (m.color.value.copy(d.color), m.opacity.value = d.opacity) : d.isShaderMaterial && (d.uniformsNeedUpdate = !1);
|
|
22140
22152
|
}
|
|
22141
22153
|
function s(m, d) {
|
|
22142
|
-
m.opacity.value = d.opacity, d.color && m.diffuse.value.copy(d.color), d.emissive && m.emissive.value.copy(d.emissive).multiplyScalar(d.emissiveIntensity), d.map && (m.map.value = d.map, t(d.map, m.mapTransform)), d.alphaMap && (m.alphaMap.value = d.alphaMap, t(d.alphaMap, m.alphaMapTransform)), d.bumpMap && (m.bumpMap.value = d.bumpMap, t(d.bumpMap, m.bumpMapTransform), m.bumpScale.value = d.bumpScale, d.side ===
|
|
22154
|
+
m.opacity.value = d.opacity, d.color && m.diffuse.value.copy(d.color), d.emissive && m.emissive.value.copy(d.emissive).multiplyScalar(d.emissiveIntensity), d.map && (m.map.value = d.map, t(d.map, m.mapTransform)), d.alphaMap && (m.alphaMap.value = d.alphaMap, t(d.alphaMap, m.alphaMapTransform)), d.bumpMap && (m.bumpMap.value = d.bumpMap, t(d.bumpMap, m.bumpMapTransform), m.bumpScale.value = d.bumpScale, d.side === zt && (m.bumpScale.value *= -1)), d.normalMap && (m.normalMap.value = d.normalMap, t(d.normalMap, m.normalMapTransform), m.normalScale.value.copy(d.normalScale), d.side === zt && m.normalScale.value.negate()), d.displacementMap && (m.displacementMap.value = d.displacementMap, t(d.displacementMap, m.displacementMapTransform), m.displacementScale.value = d.displacementScale, m.displacementBias.value = d.displacementBias), d.emissiveMap && (m.emissiveMap.value = d.emissiveMap, t(d.emissiveMap, m.emissiveMapTransform)), d.specularMap && (m.specularMap.value = d.specularMap, t(d.specularMap, m.specularMapTransform)), d.alphaTest > 0 && (m.alphaTest.value = d.alphaTest);
|
|
22143
22155
|
const E = e.get(d), T = E.envMap, y = E.envMapRotation;
|
|
22144
22156
|
T && (m.envMap.value = T, oi.copy(y), oi.x *= -1, oi.y *= -1, oi.z *= -1, T.isCubeTexture && T.isRenderTargetTexture === !1 && (oi.y *= -1, oi.z *= -1), m.envMapRotation.value.setFromMatrix4(e0.makeRotationFromEuler(oi)), m.flipEnvMap.value = T.isCubeTexture && T.isRenderTargetTexture === !1 ? -1 : 1, m.reflectivity.value = d.reflectivity, m.ior.value = d.ior, m.refractionRatio.value = d.refractionRatio), d.lightMap && (m.lightMap.value = d.lightMap, m.lightMapIntensity.value = d.lightMapIntensity, t(d.lightMap, m.lightMapTransform)), d.aoMap && (m.aoMap.value = d.aoMap, m.aoMapIntensity.value = d.aoMapIntensity, t(d.aoMap, m.aoMapTransform));
|
|
22145
22157
|
}
|
|
@@ -22165,7 +22177,7 @@ function t0(i, e) {
|
|
|
22165
22177
|
m.metalness.value = d.metalness, d.metalnessMap && (m.metalnessMap.value = d.metalnessMap, t(d.metalnessMap, m.metalnessMapTransform)), m.roughness.value = d.roughness, d.roughnessMap && (m.roughnessMap.value = d.roughnessMap, t(d.roughnessMap, m.roughnessMapTransform)), d.envMap && (m.envMapIntensity.value = d.envMapIntensity);
|
|
22166
22178
|
}
|
|
22167
22179
|
function p(m, d, E) {
|
|
22168
|
-
m.ior.value = d.ior, d.sheen > 0 && (m.sheenColor.value.copy(d.sheenColor).multiplyScalar(d.sheen), m.sheenRoughness.value = d.sheenRoughness, d.sheenColorMap && (m.sheenColorMap.value = d.sheenColorMap, t(d.sheenColorMap, m.sheenColorMapTransform)), d.sheenRoughnessMap && (m.sheenRoughnessMap.value = d.sheenRoughnessMap, t(d.sheenRoughnessMap, m.sheenRoughnessMapTransform))), d.clearcoat > 0 && (m.clearcoat.value = d.clearcoat, m.clearcoatRoughness.value = d.clearcoatRoughness, d.clearcoatMap && (m.clearcoatMap.value = d.clearcoatMap, t(d.clearcoatMap, m.clearcoatMapTransform)), d.clearcoatRoughnessMap && (m.clearcoatRoughnessMap.value = d.clearcoatRoughnessMap, t(d.clearcoatRoughnessMap, m.clearcoatRoughnessMapTransform)), d.clearcoatNormalMap && (m.clearcoatNormalMap.value = d.clearcoatNormalMap, t(d.clearcoatNormalMap, m.clearcoatNormalMapTransform), m.clearcoatNormalScale.value.copy(d.clearcoatNormalScale), d.side ===
|
|
22180
|
+
m.ior.value = d.ior, d.sheen > 0 && (m.sheenColor.value.copy(d.sheenColor).multiplyScalar(d.sheen), m.sheenRoughness.value = d.sheenRoughness, d.sheenColorMap && (m.sheenColorMap.value = d.sheenColorMap, t(d.sheenColorMap, m.sheenColorMapTransform)), d.sheenRoughnessMap && (m.sheenRoughnessMap.value = d.sheenRoughnessMap, t(d.sheenRoughnessMap, m.sheenRoughnessMapTransform))), d.clearcoat > 0 && (m.clearcoat.value = d.clearcoat, m.clearcoatRoughness.value = d.clearcoatRoughness, d.clearcoatMap && (m.clearcoatMap.value = d.clearcoatMap, t(d.clearcoatMap, m.clearcoatMapTransform)), d.clearcoatRoughnessMap && (m.clearcoatRoughnessMap.value = d.clearcoatRoughnessMap, t(d.clearcoatRoughnessMap, m.clearcoatRoughnessMapTransform)), d.clearcoatNormalMap && (m.clearcoatNormalMap.value = d.clearcoatNormalMap, t(d.clearcoatNormalMap, m.clearcoatNormalMapTransform), m.clearcoatNormalScale.value.copy(d.clearcoatNormalScale), d.side === zt && m.clearcoatNormalScale.value.negate())), d.dispersion > 0 && (m.dispersion.value = d.dispersion), d.iridescence > 0 && (m.iridescence.value = d.iridescence, m.iridescenceIOR.value = d.iridescenceIOR, m.iridescenceThicknessMinimum.value = d.iridescenceThicknessRange[0], m.iridescenceThicknessMaximum.value = d.iridescenceThicknessRange[1], d.iridescenceMap && (m.iridescenceMap.value = d.iridescenceMap, t(d.iridescenceMap, m.iridescenceMapTransform)), d.iridescenceThicknessMap && (m.iridescenceThicknessMap.value = d.iridescenceThicknessMap, t(d.iridescenceThicknessMap, m.iridescenceThicknessMapTransform))), d.transmission > 0 && (m.transmission.value = d.transmission, m.transmissionSamplerMap.value = E.texture, m.transmissionSamplerSize.value.set(E.width, E.height), d.transmissionMap && (m.transmissionMap.value = d.transmissionMap, t(d.transmissionMap, m.transmissionMapTransform)), m.thickness.value = d.thickness, d.thicknessMap && (m.thicknessMap.value = d.thicknessMap, t(d.thicknessMap, m.thicknessMapTransform)), m.attenuationDistance.value = d.attenuationDistance, m.attenuationColor.value.copy(d.attenuationColor)), d.anisotropy > 0 && (m.anisotropyVector.value.set(d.anisotropy * Math.cos(d.anisotropyRotation), d.anisotropy * Math.sin(d.anisotropyRotation)), d.anisotropyMap && (m.anisotropyMap.value = d.anisotropyMap, t(d.anisotropyMap, m.anisotropyMapTransform))), m.specularIntensity.value = d.specularIntensity, m.specularColor.value.copy(d.specularColor), d.specularColorMap && (m.specularColorMap.value = d.specularColorMap, t(d.specularColorMap, m.specularColorMapTransform)), d.specularIntensityMap && (m.specularIntensityMap.value = d.specularIntensityMap, t(d.specularIntensityMap, m.specularIntensityMapTransform));
|
|
22169
22181
|
}
|
|
22170
22182
|
function g(m, d) {
|
|
22171
22183
|
d.matcap && (m.matcap.value = d.matcap);
|
|
@@ -22283,7 +22295,7 @@ function n0(i, e, t, n) {
|
|
|
22283
22295
|
dispose: d
|
|
22284
22296
|
};
|
|
22285
22297
|
}
|
|
22286
|
-
class
|
|
22298
|
+
class Px {
|
|
22287
22299
|
/**
|
|
22288
22300
|
* Constructs a new WebGL renderer.
|
|
22289
22301
|
*
|
|
@@ -22513,7 +22525,7 @@ class Cx {
|
|
|
22513
22525
|
nt.render(tt, dt);
|
|
22514
22526
|
};
|
|
22515
22527
|
function We(S, I, H) {
|
|
22516
|
-
S.transparent === !0 && S.side === Dn && S.forceSinglePass === !1 ? (S.side =
|
|
22528
|
+
S.transparent === !0 && S.side === Dn && S.forceSinglePass === !1 ? (S.side = zt, S.needsUpdate = !0, Qn(S, I, H), S.side = Jn, S.needsUpdate = !0, Qn(S, I, H), S.side = Dn) : Qn(S, I, H);
|
|
22517
22529
|
}
|
|
22518
22530
|
this.compile = function(S, I, H = null) {
|
|
22519
22531
|
H === null && (H = S), d = ae.get(H), d.init(I), T.push(d), H.traverseVisible(function(N) {
|
|
@@ -22653,7 +22665,7 @@ class Cx {
|
|
|
22653
22665
|
const ot = I[Ue], dt = ot.object, pt = ot.geometry, nt = ot.material, Oe = ot.group;
|
|
22654
22666
|
if (nt.side === Dn && dt.layers.test(G.layers)) {
|
|
22655
22667
|
const Et = nt.side;
|
|
22656
|
-
nt.side =
|
|
22668
|
+
nt.side = zt, nt.needsUpdate = !0, $t(dt, H, G, pt, nt, Oe), nt.side = Et, nt.needsUpdate = !0, He = !0;
|
|
22657
22669
|
}
|
|
22658
22670
|
}
|
|
22659
22671
|
He === !0 && (de.updateMultisampleRenderTarget(se), de.updateRenderTargetMipmap(se));
|
|
@@ -22669,7 +22681,7 @@ class Cx {
|
|
|
22669
22681
|
}
|
|
22670
22682
|
}
|
|
22671
22683
|
function $t(S, I, H, G, N, se) {
|
|
22672
|
-
S.onBeforeRender(y, I, H, G, N, se), S.modelViewMatrix.multiplyMatrices(H.matrixWorldInverse, S.matrixWorld), S.normalMatrix.getNormalMatrix(S.modelViewMatrix), N.onBeforeRender(y, I, H, G, S, se), N.transparent === !0 && N.side === Dn && N.forceSinglePass === !1 ? (N.side =
|
|
22684
|
+
S.onBeforeRender(y, I, H, G, N, se), S.modelViewMatrix.multiplyMatrices(H.matrixWorldInverse, S.matrixWorld), S.normalMatrix.getNormalMatrix(S.modelViewMatrix), N.onBeforeRender(y, I, H, G, S, se), N.transparent === !0 && N.side === Dn && N.forceSinglePass === !1 ? (N.side = zt, N.needsUpdate = !0, y.renderBufferDirect(H, I, G, N, S, se), N.side = Jn, N.needsUpdate = !0, y.renderBufferDirect(H, I, G, N, S, se), N.side = Dn) : y.renderBufferDirect(H, I, G, N, S, se), S.onAfterRender(y, I, H, G, N, se);
|
|
22673
22685
|
}
|
|
22674
22686
|
function Qn(S, I, H) {
|
|
22675
22687
|
I.isScene !== !0 && (I = ht);
|
|
@@ -22703,8 +22715,8 @@ class Cx {
|
|
|
22703
22715
|
G.toneMapped && (D === null || D.isXRRenderTarget === !0) && (dt = y.toneMapping);
|
|
22704
22716
|
const pt = H.morphAttributes.position || H.morphAttributes.normal || H.morphAttributes.color, nt = pt !== void 0 ? pt.length : 0, Oe = xe.get(G), Et = d.state.lights;
|
|
22705
22717
|
if (ce === !0 && (De === !0 || S !== x)) {
|
|
22706
|
-
const
|
|
22707
|
-
ye.setState(G, S,
|
|
22718
|
+
const Nt = S === x && G.id === M;
|
|
22719
|
+
ye.setState(G, S, Nt);
|
|
22708
22720
|
}
|
|
22709
22721
|
let rt = !1;
|
|
22710
22722
|
G.version === Oe.__version ? (Oe.needsLights && Oe.lightsStateVersion !== Et.state.version || Oe.outputColorSpace !== Re || N.isBatchedMesh && Oe.batching === !1 || !N.isBatchedMesh && Oe.batching === !0 || N.isBatchedMesh && Oe.batchingColor === !0 && N.colorTexture === null || N.isBatchedMesh && Oe.batchingColor === !1 && N.colorTexture !== null || N.isInstancedMesh && Oe.instancing === !1 || !N.isInstancedMesh && Oe.instancing === !0 || N.isSkinnedMesh && Oe.skinning === !1 || !N.isSkinnedMesh && Oe.skinning === !0 || N.isInstancedMesh && Oe.instancingColor === !0 && N.instanceColor === null || N.isInstancedMesh && Oe.instancingColor === !1 && N.instanceColor !== null || N.isInstancedMesh && Oe.instancingMorph === !0 && N.morphTexture === null || N.isInstancedMesh && Oe.instancingMorph === !1 && N.morphTexture !== null || Oe.envMap !== be || G.fog === !0 && Oe.fog !== se || Oe.numClippingPlanes !== void 0 && (Oe.numClippingPlanes !== ye.numPlanes || Oe.numIntersection !== ye.numIntersection) || Oe.vertexAlphas !== Ve || Oe.vertexTangents !== He || Oe.morphTargets !== Ue || Oe.morphNormals !== tt || Oe.morphColors !== ot || Oe.toneMapping !== dt || Oe.morphTargetsCount !== nt) && (rt = !0) : (rt = !0, Oe.__version = G.version);
|
|
@@ -22723,15 +22735,15 @@ class Cx {
|
|
|
22723
22735
|
}
|
|
22724
22736
|
if (N.isSkinnedMesh) {
|
|
22725
22737
|
ft.setOptional(A, N, "bindMatrix"), ft.setOptional(A, N, "bindMatrixInverse");
|
|
22726
|
-
const
|
|
22727
|
-
|
|
22738
|
+
const Nt = N.skeleton;
|
|
22739
|
+
Nt && (Nt.boneTexture === null && Nt.computeBoneTexture(), ft.setValue(A, "boneTexture", Nt.boneTexture, de));
|
|
22728
22740
|
}
|
|
22729
22741
|
N.isBatchedMesh && (ft.setOptional(A, N, "batchingTexture"), ft.setValue(A, "batchingTexture", N._matricesTexture, de), ft.setOptional(A, N, "batchingIdTexture"), ft.setValue(A, "batchingIdTexture", N._indirectTexture, de), ft.setOptional(A, N, "batchingColorTexture"), N._colorsTexture !== null && ft.setValue(A, "batchingColorTexture", N._colorsTexture, de));
|
|
22730
22742
|
const Zt = H.morphAttributes;
|
|
22731
22743
|
if ((Zt.position !== void 0 || Zt.normal !== void 0 || Zt.color !== void 0) && Se.update(N, H, on), (Wt || Oe.receiveShadow !== N.receiveShadow) && (Oe.receiveShadow = N.receiveShadow, ft.setValue(A, "receiveShadow", N.receiveShadow)), G.isMeshGouraudMaterial && G.envMap !== null && (Jt.envMap.value = be, Jt.flipEnvMap.value = be.isCubeTexture && be.isRenderTargetTexture === !1 ? -1 : 1), G.isMeshStandardMaterial && G.envMap === null && I.environment !== null && (Jt.envMapIntensity.value = I.environmentIntensity), Wt && (ft.setValue(A, "toneMappingExposure", y.toneMappingExposure), Oe.needsLights && Ur(Jt, rr), se && G.fog === !0 && q.refreshFogUniforms(Jt, se), q.refreshMaterialUniforms(Jt, G, V, $, d.state.transmissionRenderTarget[S.id]), Rs.upload(A, tr(Oe), Jt, de)), G.isShaderMaterial && G.uniformsNeedUpdate === !0 && (Rs.upload(A, tr(Oe), Jt, de), G.uniformsNeedUpdate = !1), G.isSpriteMaterial && ft.setValue(A, "center", N.center), ft.setValue(A, "modelViewMatrix", N.modelViewMatrix), ft.setValue(A, "normalMatrix", N.normalMatrix), ft.setValue(A, "modelMatrix", N.matrixWorld), G.isShaderMaterial || G.isRawShaderMaterial) {
|
|
22732
|
-
const
|
|
22733
|
-
for (let kt = 0, Zs =
|
|
22734
|
-
const ti =
|
|
22744
|
+
const Nt = G.uniformsGroups;
|
|
22745
|
+
for (let kt = 0, Zs = Nt.length; kt < Zs; kt++) {
|
|
22746
|
+
const ti = Nt[kt];
|
|
22735
22747
|
U.update(ti, on), U.bind(ti, on);
|
|
22736
22748
|
}
|
|
22737
22749
|
}
|
|
@@ -22860,16 +22872,16 @@ class Cx {
|
|
|
22860
22872
|
A.pixelStorei(A.UNPACK_ROW_LENGTH, pt.width), A.pixelStorei(A.UNPACK_IMAGE_HEIGHT, pt.height), A.pixelStorei(A.UNPACK_SKIP_PIXELS, Ve), A.pixelStorei(A.UNPACK_SKIP_ROWS, He), A.pixelStorei(A.UNPACK_SKIP_IMAGES, Ue);
|
|
22861
22873
|
const ft = S.isDataArrayTexture || S.isData3DTexture, Jt = I.isDataArrayTexture || I.isData3DTexture;
|
|
22862
22874
|
if (S.isDepthTexture) {
|
|
22863
|
-
const Zt = xe.get(S),
|
|
22875
|
+
const Zt = xe.get(S), Nt = xe.get(I), kt = xe.get(Zt.__renderTarget), Zs = xe.get(Nt.__renderTarget);
|
|
22864
22876
|
X.bindFramebuffer(A.READ_FRAMEBUFFER, kt.__webglFramebuffer), X.bindFramebuffer(A.DRAW_FRAMEBUFFER, Zs.__webglFramebuffer);
|
|
22865
22877
|
for (let ti = 0; ti < be; ti++)
|
|
22866
22878
|
ft && (A.framebufferTextureLayer(A.READ_FRAMEBUFFER, A.COLOR_ATTACHMENT0, xe.get(S).__webglTexture, N, Ue + ti), A.framebufferTextureLayer(A.DRAW_FRAMEBUFFER, A.COLOR_ATTACHMENT0, xe.get(I).__webglTexture, se, dt + ti)), A.blitFramebuffer(Ve, He, _e, Re, tt, ot, _e, Re, A.DEPTH_BUFFER_BIT, A.NEAREST);
|
|
22867
22879
|
X.bindFramebuffer(A.READ_FRAMEBUFFER, null), X.bindFramebuffer(A.DRAW_FRAMEBUFFER, null);
|
|
22868
22880
|
} else if (N !== 0 || S.isRenderTargetTexture || xe.has(S)) {
|
|
22869
|
-
const Zt = xe.get(S),
|
|
22881
|
+
const Zt = xe.get(S), Nt = xe.get(I);
|
|
22870
22882
|
X.bindFramebuffer(A.READ_FRAMEBUFFER, Gt), X.bindFramebuffer(A.DRAW_FRAMEBUFFER, ei);
|
|
22871
22883
|
for (let kt = 0; kt < be; kt++)
|
|
22872
|
-
ft ? A.framebufferTextureLayer(A.READ_FRAMEBUFFER, A.COLOR_ATTACHMENT0, Zt.__webglTexture, N, Ue + kt) : A.framebufferTexture2D(A.READ_FRAMEBUFFER, A.COLOR_ATTACHMENT0, A.TEXTURE_2D, Zt.__webglTexture, N), Jt ? A.framebufferTextureLayer(A.DRAW_FRAMEBUFFER, A.COLOR_ATTACHMENT0,
|
|
22884
|
+
ft ? A.framebufferTextureLayer(A.READ_FRAMEBUFFER, A.COLOR_ATTACHMENT0, Zt.__webglTexture, N, Ue + kt) : A.framebufferTexture2D(A.READ_FRAMEBUFFER, A.COLOR_ATTACHMENT0, A.TEXTURE_2D, Zt.__webglTexture, N), Jt ? A.framebufferTextureLayer(A.DRAW_FRAMEBUFFER, A.COLOR_ATTACHMENT0, Nt.__webglTexture, se, dt + kt) : A.framebufferTexture2D(A.DRAW_FRAMEBUFFER, A.COLOR_ATTACHMENT0, A.TEXTURE_2D, Nt.__webglTexture, se), N !== 0 ? A.blitFramebuffer(Ve, He, _e, Re, tt, ot, _e, Re, A.COLOR_BUFFER_BIT, A.NEAREST) : Jt ? A.copyTexSubImage3D(Et, se, tt, ot, dt + kt, Ve, He, _e, Re) : A.copyTexSubImage2D(Et, se, tt, ot, Ve, He, _e, Re);
|
|
22873
22885
|
X.bindFramebuffer(A.READ_FRAMEBUFFER, null), X.bindFramebuffer(A.DRAW_FRAMEBUFFER, null);
|
|
22874
22886
|
} else
|
|
22875
22887
|
Jt ? S.isDataTexture || S.isData3DTexture ? A.texSubImage3D(Et, se, tt, ot, dt, _e, Re, be, nt, Oe, pt.data) : I.isCompressedArrayTexture ? A.compressedTexSubImage3D(Et, se, tt, ot, dt, _e, Re, be, nt, pt.data) : A.texSubImage3D(Et, se, tt, ot, dt, _e, Re, be, nt, Oe, pt) : S.isDataTexture ? A.texSubImage2D(A.TEXTURE_2D, se, tt, ot, _e, Re, nt, Oe, pt.data) : S.isCompressedTexture ? A.compressedTexSubImage2D(A.TEXTURE_2D, se, tt, ot, pt.width, pt.height, nt, pt.data) : A.texSubImage2D(A.TEXTURE_2D, se, tt, ot, _e, Re, nt, Oe, pt);
|
|
@@ -23230,10 +23242,10 @@ function ol(i, e, t = 2, n = 2) {
|
|
|
23230
23242
|
for (let w = 0; w <= e; w++)
|
|
23231
23243
|
g = Math.PI / 2 * (C + w / e), _ = Math.cos(g), m = Math.sin(g), u.push(d + i * _, E + i * m, 0), h.push(T + a * _, y + l * m), w < e && (P = (e + 1) * C + w + 4, p.push(C, P, P + 1));
|
|
23232
23244
|
}
|
|
23233
|
-
return new
|
|
23245
|
+
return new It().setIndex(new Ut(new Uint32Array(p), 1)).setAttribute(
|
|
23234
23246
|
"position",
|
|
23235
|
-
new
|
|
23236
|
-
).setAttribute("uv", new
|
|
23247
|
+
new Ut(new Float32Array(u), 3)
|
|
23248
|
+
).setAttribute("uv", new Ut(new Float32Array(h), 2));
|
|
23237
23249
|
}
|
|
23238
23250
|
const g0 = (i, e) => {
|
|
23239
23251
|
const t = new L(), { isSphere: n, radius: r, smoothness: s } = i, a = ol(r, s);
|
|
@@ -23357,7 +23369,7 @@ const g0 = (i, e) => {
|
|
|
23357
23369
|
});
|
|
23358
23370
|
};
|
|
23359
23371
|
function x0(i, e = !1) {
|
|
23360
|
-
const t = i[0].index !== null, n = new Set(Object.keys(i[0].attributes)), r = new Set(Object.keys(i[0].morphAttributes)), s = {}, a = {}, o = i[0].morphTargetsRelative, l = new
|
|
23372
|
+
const t = i[0].index !== null, n = new Set(Object.keys(i[0].attributes)), r = new Set(Object.keys(i[0].morphAttributes)), s = {}, a = {}, o = i[0].morphTargetsRelative, l = new It();
|
|
23361
23373
|
let c = 0;
|
|
23362
23374
|
for (let u = 0; u < i.length; ++u) {
|
|
23363
23375
|
const h = i[u];
|
|
@@ -23436,7 +23448,7 @@ function Qc(i) {
|
|
|
23436
23448
|
return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.gpuType must be consistent across matching attributes."), null;
|
|
23437
23449
|
s += u.count * t;
|
|
23438
23450
|
}
|
|
23439
|
-
const a = new e(s), o = new
|
|
23451
|
+
const a = new e(s), o = new Ut(a, t, n);
|
|
23440
23452
|
let l = 0;
|
|
23441
23453
|
for (let c = 0; c < i.length; ++c) {
|
|
23442
23454
|
const u = i[c];
|
|
@@ -23461,7 +23473,7 @@ const y0 = (i, e) => {
|
|
|
23461
23473
|
let o;
|
|
23462
23474
|
const l = new Ji({
|
|
23463
23475
|
color: r,
|
|
23464
|
-
side:
|
|
23476
|
+
side: zt,
|
|
23465
23477
|
opacity: s,
|
|
23466
23478
|
transparent: !0,
|
|
23467
23479
|
depthWrite: !1
|
|
@@ -24180,7 +24192,7 @@ const T0 = (i) => {
|
|
|
24180
24192
|
const { material: t, userData: n } = i, { opacity: r, color: s, scale: a } = e ? n.hover : n;
|
|
24181
24193
|
i.scale.setScalar(a), t.opacity = r, t.map ? m0(t.map, e) : t.color.set(s);
|
|
24182
24194
|
}, zi = /* @__PURE__ */ new je(), su = /* @__PURE__ */ new xp(), w0 = /* @__PURE__ */ new Ge(), ci = /* @__PURE__ */ new L(), au = /* @__PURE__ */ new Qe();
|
|
24183
|
-
class
|
|
24195
|
+
class Dx extends ut {
|
|
24184
24196
|
/**
|
|
24185
24197
|
* Creates a new ViewportGizmo instance.
|
|
24186
24198
|
*
|
|
@@ -24520,12 +24532,12 @@ class Js extends ut {
|
|
|
24520
24532
|
return super.copy(e, t), this.urdfNode = e.urdfNode, this.urdfName = e.urdfName, this;
|
|
24521
24533
|
}
|
|
24522
24534
|
}
|
|
24523
|
-
class
|
|
24535
|
+
class Lx extends Js {
|
|
24524
24536
|
constructor(...e) {
|
|
24525
24537
|
super(...e), this.isURDFCollider = !0, this.type = "URDFCollider";
|
|
24526
24538
|
}
|
|
24527
24539
|
}
|
|
24528
|
-
class
|
|
24540
|
+
class Ux extends Js {
|
|
24529
24541
|
constructor(...e) {
|
|
24530
24542
|
super(...e), this.isURDFVisual = !0, this.type = "URDFVisual";
|
|
24531
24543
|
}
|
|
@@ -24605,7 +24617,7 @@ class P0 extends Js {
|
|
|
24605
24617
|
return t;
|
|
24606
24618
|
}
|
|
24607
24619
|
}
|
|
24608
|
-
class
|
|
24620
|
+
class Ix extends P0 {
|
|
24609
24621
|
constructor(...e) {
|
|
24610
24622
|
super(...e), this.type = "URDFMimicJoint", this.mimicJoint = null, this.offset = 0, this.multiplier = 1;
|
|
24611
24623
|
}
|
|
@@ -24618,7 +24630,7 @@ class Ux extends P0 {
|
|
|
24618
24630
|
return super.copy(e, t), this.mimicJoint = e.mimicJoint, this.offset = e.offset, this.multiplier = e.multiplier, this;
|
|
24619
24631
|
}
|
|
24620
24632
|
}
|
|
24621
|
-
class
|
|
24633
|
+
class Nx extends C0 {
|
|
24622
24634
|
constructor(...e) {
|
|
24623
24635
|
super(...e), this.isURDFRobot = !0, this.urdfNode = null, this.urdfRobotNode = null, this.robotName = null, this.links = null, this.joints = null, this.colliders = null, this.visual = null, this.frames = null;
|
|
24624
24636
|
}
|
|
@@ -24785,7 +24797,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
24785
24797
|
}
|
|
24786
24798
|
return u;
|
|
24787
24799
|
}
|
|
24788
|
-
}),
|
|
24800
|
+
}), Fx = (i) => {
|
|
24789
24801
|
try {
|
|
24790
24802
|
return JSON.parse(i), !0;
|
|
24791
24803
|
} catch {
|
|
@@ -24817,11 +24829,11 @@ const D0 = Gs("formToTableComp", {
|
|
|
24817
24829
|
return c[e[l]] = o, c;
|
|
24818
24830
|
})) == null ? void 0 : a.filter((o) => o), s;
|
|
24819
24831
|
}), n;
|
|
24820
|
-
},
|
|
24832
|
+
}, Ox = (i, e) => {
|
|
24821
24833
|
var a, o;
|
|
24822
24834
|
const t = Te(i), n = (a = t == null ? void 0 : t.find((l) => (l == null ? void 0 : l.key) === "header")) == null ? void 0 : a.contents, r = (o = t == null ? void 0 : t.find((l) => (l == null ? void 0 : l.key) === "tableContents")) == null ? void 0 : o.contents;
|
|
24823
24835
|
return H0(r, gi(n).slice(0, gi(n).length - 1), e);
|
|
24824
|
-
},
|
|
24836
|
+
}, Ot = (i) => {
|
|
24825
24837
|
var r, s, a, o;
|
|
24826
24838
|
const e = i;
|
|
24827
24839
|
let t = [];
|
|
@@ -24944,7 +24956,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
24944
24956
|
}) : [i].forEach((n, r) => {
|
|
24945
24957
|
t[e[r]] = n;
|
|
24946
24958
|
}), t;
|
|
24947
|
-
},
|
|
24959
|
+
}, Bx = async (i) => {
|
|
24948
24960
|
let e = [];
|
|
24949
24961
|
i == null || i.forEach((t) => {
|
|
24950
24962
|
var n;
|
|
@@ -24968,9 +24980,9 @@ const D0 = Gs("formToTableComp", {
|
|
|
24968
24980
|
},
|
|
24969
24981
|
value: {
|
|
24970
24982
|
pageData: {
|
|
24971
|
-
comp: (E =
|
|
24972
|
-
compData: (T =
|
|
24973
|
-
name: (y =
|
|
24983
|
+
comp: (E = Ot(Te(d))) == null ? void 0 : E.comp,
|
|
24984
|
+
compData: (T = Ot(Te(d))) == null ? void 0 : T.compData,
|
|
24985
|
+
name: (y = Ot(Te(d))) == null ? void 0 : y.name
|
|
24974
24986
|
}
|
|
24975
24987
|
}
|
|
24976
24988
|
};
|
|
@@ -25017,9 +25029,9 @@ const D0 = Gs("formToTableComp", {
|
|
|
25017
25029
|
},
|
|
25018
25030
|
value: {
|
|
25019
25031
|
pageData: {
|
|
25020
|
-
comp: (_ =
|
|
25021
|
-
compData: (m =
|
|
25022
|
-
name: (d =
|
|
25032
|
+
comp: (_ = Ot(Te(g))) == null ? void 0 : _.comp,
|
|
25033
|
+
compData: (m = Ot(Te(g))) == null ? void 0 : m.compData,
|
|
25034
|
+
name: (d = Ot(Te(g))) == null ? void 0 : d.name
|
|
25023
25035
|
}
|
|
25024
25036
|
}
|
|
25025
25037
|
};
|
|
@@ -25076,9 +25088,9 @@ const D0 = Gs("formToTableComp", {
|
|
|
25076
25088
|
},
|
|
25077
25089
|
value: {
|
|
25078
25090
|
pageData: {
|
|
25079
|
-
comp: (p =
|
|
25080
|
-
compData: (g =
|
|
25081
|
-
name: (_ =
|
|
25091
|
+
comp: (p = Ot(Te(f))) == null ? void 0 : p.comp,
|
|
25092
|
+
compData: (g = Ot(Te(f))) == null ? void 0 : g.compData,
|
|
25093
|
+
name: (_ = Ot(Te(f))) == null ? void 0 : _.name
|
|
25082
25094
|
}
|
|
25083
25095
|
}
|
|
25084
25096
|
})).data.result) == null ? void 0 : m[0]) == null ? void 0 : d.id, P = await ((E = Va(Te(f))) == null ? void 0 : E.map(async (C) => {
|
|
@@ -25092,7 +25104,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
25092
25104
|
tableId: y
|
|
25093
25105
|
},
|
|
25094
25106
|
value: {
|
|
25095
|
-
tableData: xr(C, (F = gi((O = (b = (x =
|
|
25107
|
+
tableData: xr(C, (F = gi((O = (b = (x = Ot(Te(f))) == null ? void 0 : x.compData) == null ? void 0 : b.find((W) => (W == null ? void 0 : W.key) === "header")) == null ? void 0 : O.contents)) == null ? void 0 : F.filter((W) => W !== "操作"))
|
|
25096
25108
|
}
|
|
25097
25109
|
}));
|
|
25098
25110
|
const M = await ((k = (await tn({
|
|
@@ -25130,9 +25142,9 @@ const D0 = Gs("formToTableComp", {
|
|
|
25130
25142
|
},
|
|
25131
25143
|
value: {
|
|
25132
25144
|
pageData: {
|
|
25133
|
-
comp: (h =
|
|
25134
|
-
compData: (f =
|
|
25135
|
-
name: (p =
|
|
25145
|
+
comp: (h = Ot(Te(u))) == null ? void 0 : h.comp,
|
|
25146
|
+
compData: (f = Ot(Te(u))) == null ? void 0 : f.compData,
|
|
25147
|
+
name: (p = Ot(Te(u))) == null ? void 0 : p.name
|
|
25136
25148
|
}
|
|
25137
25149
|
}
|
|
25138
25150
|
})).data.result) == null ? void 0 : g[0]) == null ? void 0 : _.id, y = (m = Va(Te(u))) == null ? void 0 : m.map((w) => {
|
|
@@ -25146,7 +25158,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
25146
25158
|
tableId: T
|
|
25147
25159
|
},
|
|
25148
25160
|
value: {
|
|
25149
|
-
tableData: xr(w, (b = gi((x = (M = (D =
|
|
25161
|
+
tableData: xr(w, (b = gi((x = (M = (D = Ot(Te(u))) == null ? void 0 : D.compData) == null ? void 0 : M.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : x.contents)) == null ? void 0 : b.filter((O) => O !== "操作"))
|
|
25150
25162
|
}
|
|
25151
25163
|
};
|
|
25152
25164
|
}), P = await hl({
|
|
@@ -25164,7 +25176,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
25164
25176
|
tableId: T
|
|
25165
25177
|
},
|
|
25166
25178
|
value: {
|
|
25167
|
-
tableData: xr(w, (k = gi((F = (O = (b =
|
|
25179
|
+
tableData: xr(w, (k = gi((F = (O = (b = Ot(Te(u))) == null ? void 0 : b.compData) == null ? void 0 : O.find((B) => (B == null ? void 0 : B.key) === "header")) == null ? void 0 : F.contents)) == null ? void 0 : k.filter((B) => B !== "操作"))
|
|
25168
25180
|
}
|
|
25169
25181
|
})), await ((W = (await tn({
|
|
25170
25182
|
key: {
|
|
@@ -25297,11 +25309,11 @@ const D0 = Gs("formToTableComp", {
|
|
|
25297
25309
|
name: "",
|
|
25298
25310
|
compData: (d = (m = s.data.result) == null ? void 0 : m.map((E) => E.value.pageData)) == null ? void 0 : d.filter((E) => Object.values(E).length > 0)
|
|
25299
25311
|
}), u;
|
|
25300
|
-
},
|
|
25312
|
+
}, zx = async (i) => {
|
|
25301
25313
|
await hh({
|
|
25302
25314
|
id: i
|
|
25303
25315
|
});
|
|
25304
|
-
},
|
|
25316
|
+
}, kx = async (i, e, t, n, r, s) => {
|
|
25305
25317
|
var a;
|
|
25306
25318
|
await gu({
|
|
25307
25319
|
key: {
|
|
@@ -25314,7 +25326,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
25314
25326
|
tableData: xr(r, (a = gi(s)) == null ? void 0 : a.filter((o) => o !== "操作"))
|
|
25315
25327
|
}
|
|
25316
25328
|
});
|
|
25317
|
-
},
|
|
25329
|
+
}, Vx = async (i, e, t, n, r, s, a) => {
|
|
25318
25330
|
var o;
|
|
25319
25331
|
await Ds({
|
|
25320
25332
|
key: {
|
|
@@ -25328,7 +25340,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
25328
25340
|
},
|
|
25329
25341
|
id: n
|
|
25330
25342
|
});
|
|
25331
|
-
},
|
|
25343
|
+
}, Hx = async (i, e) => {
|
|
25332
25344
|
await Ds({
|
|
25333
25345
|
value: {
|
|
25334
25346
|
pageData: e
|
|
@@ -25338,7 +25350,7 @@ const D0 = Gs("formToTableComp", {
|
|
|
25338
25350
|
}, J0 = async (i, e) => await tn({
|
|
25339
25351
|
key: i,
|
|
25340
25352
|
valueLikes: e
|
|
25341
|
-
}),
|
|
25353
|
+
}), Gx = async () => {
|
|
25342
25354
|
var i, e, t, n, r, s, a, o, l;
|
|
25343
25355
|
try {
|
|
25344
25356
|
const c = await tn({
|
|
@@ -25751,90 +25763,91 @@ const D0 = Gs("formToTableComp", {
|
|
|
25751
25763
|
]);
|
|
25752
25764
|
};
|
|
25753
25765
|
}
|
|
25754
|
-
},
|
|
25766
|
+
}, Wx = /* @__PURE__ */ Vo(rx, [["__scopeId", "data-v-4098a946"]]);
|
|
25755
25767
|
export {
|
|
25756
|
-
|
|
25768
|
+
rl as $,
|
|
25757
25769
|
Uf as A,
|
|
25758
25770
|
On as B,
|
|
25759
|
-
|
|
25760
|
-
|
|
25771
|
+
Cx as C,
|
|
25772
|
+
Ax as D,
|
|
25761
25773
|
sn as E,
|
|
25762
25774
|
up as F,
|
|
25763
25775
|
es as G,
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25776
|
+
Ex as H,
|
|
25777
|
+
Mx as I,
|
|
25778
|
+
Ut as J,
|
|
25779
|
+
px as K,
|
|
25768
25780
|
Pr as L,
|
|
25769
25781
|
fx as M,
|
|
25770
|
-
|
|
25771
|
-
|
|
25782
|
+
Sx as N,
|
|
25783
|
+
Kn as O,
|
|
25772
25784
|
ui as P,
|
|
25773
25785
|
Mn as Q,
|
|
25774
25786
|
Rr as R,
|
|
25775
25787
|
xp as S,
|
|
25776
25788
|
dx as T,
|
|
25777
|
-
|
|
25789
|
+
je as U,
|
|
25778
25790
|
L as V,
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25791
|
+
Px as W,
|
|
25792
|
+
Dx as X,
|
|
25793
|
+
Ji as Y,
|
|
25794
|
+
yx as Z,
|
|
25795
|
+
xx as _,
|
|
25784
25796
|
Ge as a,
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
+
bx as a0,
|
|
25798
|
+
Vs as a1,
|
|
25799
|
+
js as a2,
|
|
25800
|
+
Hd as a3,
|
|
25801
|
+
mx as a4,
|
|
25802
|
+
Yd as a5,
|
|
25803
|
+
Hu as a6,
|
|
25804
|
+
Un as a7,
|
|
25805
|
+
Nx as a8,
|
|
25806
|
+
Ix as a9,
|
|
25807
|
+
P0 as aa,
|
|
25808
|
+
C0 as ab,
|
|
25797
25809
|
Lx as ac,
|
|
25798
|
-
|
|
25799
|
-
|
|
25800
|
-
|
|
25801
|
-
|
|
25802
|
-
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25806
|
-
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25810
|
-
|
|
25811
|
-
|
|
25812
|
-
|
|
25810
|
+
Ux as ad,
|
|
25811
|
+
Cr as ae,
|
|
25812
|
+
nl as af,
|
|
25813
|
+
Wu as ag,
|
|
25814
|
+
D0 as ah,
|
|
25815
|
+
O0 as ai,
|
|
25816
|
+
Z0 as aj,
|
|
25817
|
+
Fx as ak,
|
|
25818
|
+
Gx as al,
|
|
25819
|
+
Ms as am,
|
|
25820
|
+
Ot as an,
|
|
25821
|
+
Va as ao,
|
|
25822
|
+
Bx as ap,
|
|
25823
|
+
$0 as aq,
|
|
25824
|
+
Hx as ar,
|
|
25813
25825
|
zx as as,
|
|
25814
25826
|
kx as at,
|
|
25815
|
-
|
|
25816
|
-
|
|
25827
|
+
Vx as au,
|
|
25828
|
+
Ox as av,
|
|
25829
|
+
Wx as aw,
|
|
25817
25830
|
fd as b,
|
|
25818
25831
|
kd as c,
|
|
25819
25832
|
Ke as d,
|
|
25820
25833
|
Vt as e,
|
|
25821
25834
|
cf as f,
|
|
25822
25835
|
Yt as g,
|
|
25823
|
-
|
|
25824
|
-
|
|
25836
|
+
wx as h,
|
|
25837
|
+
Tx as i,
|
|
25825
25838
|
Ys as j,
|
|
25826
|
-
|
|
25839
|
+
vx as k,
|
|
25827
25840
|
Dn as l,
|
|
25828
25841
|
Lt as m,
|
|
25829
|
-
|
|
25842
|
+
It as n,
|
|
25830
25843
|
Mt as o,
|
|
25831
25844
|
qd as p,
|
|
25832
25845
|
zn as q,
|
|
25833
25846
|
Kd as r,
|
|
25834
|
-
|
|
25835
|
-
|
|
25847
|
+
gx as s,
|
|
25848
|
+
_x as t,
|
|
25836
25849
|
jh as u,
|
|
25837
|
-
|
|
25850
|
+
Rx as v,
|
|
25838
25851
|
Jn as w,
|
|
25839
25852
|
yr as x,
|
|
25840
25853
|
it as y,
|