@needle-tools/engine 3.16.1-beta → 3.16.2-beta
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/CHANGELOG.md +4 -0
- package/dist/needle-engine.js +616 -605
- package/dist/needle-engine.light.js +638 -627
- package/dist/needle-engine.light.min.js +34 -34
- package/dist/needle-engine.light.umd.cjs +37 -37
- package/dist/needle-engine.min.js +35 -35
- package/dist/needle-engine.umd.cjs +38 -38
- package/lib/engine/engine_types.d.ts +1 -0
- package/lib/engine/engine_types.js.map +1 -1
- package/lib/engine-components/Camera.d.ts +3 -0
- package/lib/engine-components/Camera.js +10 -0
- package/lib/engine-components/Camera.js.map +1 -1
- package/lib/engine-components/CameraUtils.js +1 -1
- package/lib/engine-components/CameraUtils.js.map +1 -1
- package/lib/engine-components/Renderer.js +2 -1
- package/lib/engine-components/Renderer.js.map +1 -1
- package/package.json +1 -1
- package/src/engine/engine_types.ts +1 -0
- package/src/engine-components/Camera.ts +9 -0
- package/src/engine-components/CameraUtils.ts +1 -1
- package/src/engine-components/Renderer.ts +2 -1
package/dist/needle-engine.js
CHANGED
|
@@ -547,7 +547,7 @@ function I2(i, A) {
|
|
|
547
547
|
* Copyright 2010-2023 Three.js Authors
|
|
548
548
|
* SPDX-License-Identifier: MIT
|
|
549
549
|
*/
|
|
550
|
-
const Ea = "154", Za = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, Xa = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, av = 0, H0 = 1, rv = 2, o2 = 3, s2 = 0, VG = 1, zG = 2, Ds = 3, qg = 0, di = 1, Gt = 2, C2 = 2,
|
|
550
|
+
const Ea = "154", Za = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, Xa = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, av = 0, H0 = 1, rv = 2, o2 = 3, s2 = 0, VG = 1, zG = 2, Ds = 3, qg = 0, di = 1, Gt = 2, C2 = 2, Xt = 0, Wn = 1, lQ = 2, _0 = 3, O0 = 4, Bv = 5, gr = 100, Qv = 101, Ev = 102, P0 = 103, W0 = 104, cv = 200, hv = 201, lv = 202, dv = 203, jG = 204, ZG = 205, uv = 206, pv = 207, fv = 208, Dv = 209, wv = 210, XG = 0, bf = 1, Bh = 2, dQ = 3, uQ = 4, Lf = 5, xf = 6, tl = 7, il = 0, yv = 1, Sv = 2, AI = 0, Qh = 1, $G = 2, kv = 3, Am = 4, Gv = 5, Tf = 300, Aa = 301, ea = 302, Ro = 303, pQ = 304, bQ = 306, Fo = 1e3, ig = 1001, Gr = 1002, He = 1003, fQ = 1004, n2 = 1004, ur = 1005, a2 = 1005, Le = 1006, gl = 1007, r2 = 1007, No = 1008, B2 = 1008, ut = 1009, mv = 1010, Mv = 1011, Yf = 1012, em = 1013, Ks = 1014, oi = 1015, Ui = 1016, tm = 1017, im = 1018, LC = 1020, Rv = 1021, Ut = 1023, Hf = 1024, Uv = 1025, Vn = 1026, ta = 1027, FC = 1028, gm = 1029, nr = 1030, Im = 1031, om = 1033, Rc = 33776, xu = 33777, Tu = 33778, Uc = 33779, Mp = 35840, V0 = 35841, Rp = 35842, z0 = 35843, sm = 36196, Up = 37492, Fp = 37496, Np = 37808, j0 = 37809, Z0 = 37810, X0 = 37811, $0 = 37812, Ak = 37813, ek = 37814, tk = 37815, ik = 37816, gk = 37817, Ik = 37818, ok = 37819, sk = 37820, Ck = 37821, Fc = 36492, Fv = 36283, nk = 36284, ak = 36285, rk = 36286, Eh = 2200, Cm = 2201, Nv = 2202, ia = 2300, Ys = 2301, Yu = 2302, ar = 2400, rr = 2401, ch = 2402, _f = 2500, nm = 2501, Kv = 0, am = 1, Kp = 2, Il = 3e3, bs = 3001, ug = 3200, Of = 3201, ca = 0, Jv = 1, uI = "", Ae = "srgb", ui = "srgb-linear", rm = "display-p3", qv = 0, Nc = 7680, vv = 7681, bv = 7682, Lv = 7683, xv = 34055, Tv = 34056, Yv = 5386, Bk = 512, Hv = 513, _v = 514, Ov = 515, Pv = 516, Wv = 517, Vv = 518, Bm = 519, zv = 512, jv = 513, Zv = 514, Xv = 515, $v = 516, Ab = 517, eb = 518, tb = 519, hh = 35044, Ug = 35048, Q2 = 35040, E2 = 35045, c2 = 35049, h2 = 35041, l2 = 35046, d2 = 35050, u2 = 35042, p2 = "100", Jp = "300 es", qp = 1035, Js = 2e3, lh = 2001;
|
|
551
551
|
class zi {
|
|
552
552
|
addEventListener(A, e) {
|
|
553
553
|
this._listeners === void 0 && (this._listeners = {});
|
|
@@ -1185,7 +1185,7 @@ const L2 = {
|
|
|
1185
1185
|
[ui]: (i) => i,
|
|
1186
1186
|
[Ae]: (i) => i.convertLinearToSRGB(),
|
|
1187
1187
|
[rm]: b2
|
|
1188
|
-
},
|
|
1188
|
+
}, Bo = {
|
|
1189
1189
|
enabled: !0,
|
|
1190
1190
|
get legacyMode() {
|
|
1191
1191
|
return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."), !this.enabled;
|
|
@@ -1291,7 +1291,7 @@ function fy(i) {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
let Y2 = 0;
|
|
1293
1293
|
class qe extends zi {
|
|
1294
|
-
constructor(A = qe.DEFAULT_IMAGE, e = qe.DEFAULT_MAPPING, t = ig, g = ig, I = Le, o =
|
|
1294
|
+
constructor(A = qe.DEFAULT_IMAGE, e = qe.DEFAULT_MAPPING, t = ig, g = ig, I = Le, o = No, s = Ut, C = ut, n = qe.DEFAULT_ANISOTROPY, a = uI) {
|
|
1295
1295
|
super(), this.isTexture = !0, Object.defineProperty(this, "id", { value: Y2++ }), this.uuid = YI(), this.name = "", this.source = new NC(A), this.mipmaps = [], this.mapping = e, this.channel = 0, this.wrapS = t, this.wrapT = g, this.magFilter = I, this.minFilter = o, this.anisotropy = n, this.format = s, this.internalFormat = null, this.type = C, this.offset = new tA(0, 0), this.repeat = new tA(1, 1), this.center = new tA(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new Je(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, typeof a == "string" ? this.colorSpace = a : (Jc("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace = a === bs ? Ae : uI), this.userData = {}, this.version = 0, this.onUpdate = null, this.isRenderTargetTexture = !1, this.needsPMREMUpdate = !1;
|
|
1296
1296
|
}
|
|
1297
1297
|
get image() {
|
|
@@ -1351,7 +1351,7 @@ class qe extends zi {
|
|
|
1351
1351
|
return A;
|
|
1352
1352
|
if (A.applyMatrix3(this.matrix), A.x < 0 || A.x > 1)
|
|
1353
1353
|
switch (this.wrapS) {
|
|
1354
|
-
case
|
|
1354
|
+
case Fo:
|
|
1355
1355
|
A.x = A.x - Math.floor(A.x);
|
|
1356
1356
|
break;
|
|
1357
1357
|
case ig:
|
|
@@ -1363,7 +1363,7 @@ class qe extends zi {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
if (A.y < 0 || A.y > 1)
|
|
1365
1365
|
switch (this.wrapT) {
|
|
1366
|
-
case
|
|
1366
|
+
case Fo:
|
|
1367
1367
|
A.y = A.y - Math.floor(A.y);
|
|
1368
1368
|
break;
|
|
1369
1369
|
case ig:
|
|
@@ -3676,19 +3676,19 @@ class SA {
|
|
|
3676
3676
|
return this.r = A, this.g = A, this.b = A, this;
|
|
3677
3677
|
}
|
|
3678
3678
|
setHex(A, e = Ae) {
|
|
3679
|
-
return A = Math.floor(A), this.r = (A >> 16 & 255) / 255, this.g = (A >> 8 & 255) / 255, this.b = (A & 255) / 255,
|
|
3679
|
+
return A = Math.floor(A), this.r = (A >> 16 & 255) / 255, this.g = (A >> 8 & 255) / 255, this.b = (A & 255) / 255, Bo.toWorkingColorSpace(this, e), this;
|
|
3680
3680
|
}
|
|
3681
|
-
setRGB(A, e, t, g =
|
|
3682
|
-
return this.r = A, this.g = e, this.b = t,
|
|
3681
|
+
setRGB(A, e, t, g = Bo.workingColorSpace) {
|
|
3682
|
+
return this.r = A, this.g = e, this.b = t, Bo.toWorkingColorSpace(this, g), this;
|
|
3683
3683
|
}
|
|
3684
|
-
setHSL(A, e, t, g =
|
|
3684
|
+
setHSL(A, e, t, g = Bo.workingColorSpace) {
|
|
3685
3685
|
if (A = Qm(A, 1), e = Ii(e, 0, 1), t = Ii(t, 0, 1), e === 0)
|
|
3686
3686
|
this.r = this.g = this.b = t;
|
|
3687
3687
|
else {
|
|
3688
3688
|
const I = t <= 0.5 ? t * (1 + e) : t + e - t * e, o = 2 * t - I;
|
|
3689
3689
|
this.r = Fy(o, I, A + 1 / 3), this.g = Fy(o, I, A), this.b = Fy(o, I, A - 1 / 3);
|
|
3690
3690
|
}
|
|
3691
|
-
return
|
|
3691
|
+
return Bo.toWorkingColorSpace(this, g), this;
|
|
3692
3692
|
}
|
|
3693
3693
|
setStyle(A, e = Ae) {
|
|
3694
3694
|
function t(I) {
|
|
@@ -3768,13 +3768,13 @@ class SA {
|
|
|
3768
3768
|
return this.copyLinearToSRGB(this), this;
|
|
3769
3769
|
}
|
|
3770
3770
|
getHex(A = Ae) {
|
|
3771
|
-
return
|
|
3771
|
+
return Bo.fromWorkingColorSpace(kg.copy(this), A), Math.round(Ii(kg.r * 255, 0, 255)) * 65536 + Math.round(Ii(kg.g * 255, 0, 255)) * 256 + Math.round(Ii(kg.b * 255, 0, 255));
|
|
3772
3772
|
}
|
|
3773
3773
|
getHexString(A = Ae) {
|
|
3774
3774
|
return ("000000" + this.getHex(A).toString(16)).slice(-6);
|
|
3775
3775
|
}
|
|
3776
|
-
getHSL(A, e =
|
|
3777
|
-
|
|
3776
|
+
getHSL(A, e = Bo.workingColorSpace) {
|
|
3777
|
+
Bo.fromWorkingColorSpace(kg.copy(this), e);
|
|
3778
3778
|
const t = kg.r, g = kg.g, I = kg.b, o = Math.max(t, g, I), s = Math.min(t, g, I);
|
|
3779
3779
|
let C, n;
|
|
3780
3780
|
const a = (s + o) / 2;
|
|
@@ -3797,11 +3797,11 @@ class SA {
|
|
|
3797
3797
|
}
|
|
3798
3798
|
return A.h = C, A.s = n, A.l = a, A;
|
|
3799
3799
|
}
|
|
3800
|
-
getRGB(A, e =
|
|
3801
|
-
return
|
|
3800
|
+
getRGB(A, e = Bo.workingColorSpace) {
|
|
3801
|
+
return Bo.fromWorkingColorSpace(kg.copy(this), e), A.r = kg.r, A.g = kg.g, A.b = kg.b, A;
|
|
3802
3802
|
}
|
|
3803
3803
|
getStyle(A = Ae) {
|
|
3804
|
-
|
|
3804
|
+
Bo.fromWorkingColorSpace(kg.copy(this), A);
|
|
3805
3805
|
const e = kg.r, t = kg.g, g = kg.b;
|
|
3806
3806
|
return A !== Ae ? `color(${A} ${e.toFixed(3)} ${t.toFixed(3)} ${g.toFixed(3)})` : `rgb(${Math.round(e * 255)},${Math.round(t * 255)},${Math.round(g * 255)})`;
|
|
3807
3807
|
}
|
|
@@ -4114,7 +4114,7 @@ class oO extends ae {
|
|
|
4114
4114
|
}
|
|
4115
4115
|
}
|
|
4116
4116
|
let sO = 0;
|
|
4117
|
-
const
|
|
4117
|
+
const oo = /* @__PURE__ */ new NA(), Ny = /* @__PURE__ */ new FA(), cB = /* @__PURE__ */ new y(), RI = /* @__PURE__ */ new Hi(), RE = /* @__PURE__ */ new Hi(), Xi = /* @__PURE__ */ new y();
|
|
4118
4118
|
class ue extends zi {
|
|
4119
4119
|
constructor() {
|
|
4120
4120
|
super(), this.isBufferGeometry = !0, Object.defineProperty(this, "id", { value: sO++ }), this.uuid = YI(), this.name = "", this.type = "BufferGeometry", this.index = null, this.attributes = {}, this.morphAttributes = {}, this.morphTargetsRelative = !1, this.groups = [], this.boundingBox = null, this.boundingSphere = null, this.drawRange = { start: 0, count: 1 / 0 }, this.userData = {};
|
|
@@ -4162,22 +4162,22 @@ class ue extends zi {
|
|
|
4162
4162
|
return g !== void 0 && (g.transformDirection(A), g.needsUpdate = !0), this.boundingBox !== null && this.computeBoundingBox(), this.boundingSphere !== null && this.computeBoundingSphere(), this;
|
|
4163
4163
|
}
|
|
4164
4164
|
applyQuaternion(A) {
|
|
4165
|
-
return
|
|
4165
|
+
return oo.makeRotationFromQuaternion(A), this.applyMatrix4(oo), this;
|
|
4166
4166
|
}
|
|
4167
4167
|
rotateX(A) {
|
|
4168
|
-
return
|
|
4168
|
+
return oo.makeRotationX(A), this.applyMatrix4(oo), this;
|
|
4169
4169
|
}
|
|
4170
4170
|
rotateY(A) {
|
|
4171
|
-
return
|
|
4171
|
+
return oo.makeRotationY(A), this.applyMatrix4(oo), this;
|
|
4172
4172
|
}
|
|
4173
4173
|
rotateZ(A) {
|
|
4174
|
-
return
|
|
4174
|
+
return oo.makeRotationZ(A), this.applyMatrix4(oo), this;
|
|
4175
4175
|
}
|
|
4176
4176
|
translate(A, e, t) {
|
|
4177
|
-
return
|
|
4177
|
+
return oo.makeTranslation(A, e, t), this.applyMatrix4(oo), this;
|
|
4178
4178
|
}
|
|
4179
4179
|
scale(A, e, t) {
|
|
4180
|
-
return
|
|
4180
|
+
return oo.makeScale(A, e, t), this.applyMatrix4(oo), this;
|
|
4181
4181
|
}
|
|
4182
4182
|
lookAt(A) {
|
|
4183
4183
|
return Ny.lookAt(A), Ny.updateMatrix(), this.applyMatrix4(Ny.matrix), this;
|
|
@@ -4899,11 +4899,11 @@ class zf extends at {
|
|
|
4899
4899
|
vertexShader: t.vertexShader,
|
|
4900
4900
|
fragmentShader: t.fragmentShader,
|
|
4901
4901
|
side: di,
|
|
4902
|
-
blending:
|
|
4902
|
+
blending: Xt
|
|
4903
4903
|
});
|
|
4904
4904
|
I.uniforms.tEquirect.value = e;
|
|
4905
4905
|
const o = new wA(g, I), s = e.minFilter;
|
|
4906
|
-
return e.minFilter ===
|
|
4906
|
+
return e.minFilter === No && (e.minFilter = Le), new lm(1, 10, this).update(A, o), e.minFilter = s, o.geometry.dispose(), o.material.dispose(), this;
|
|
4907
4907
|
}
|
|
4908
4908
|
clear(A, e, t, g) {
|
|
4909
4909
|
const I = A.getRenderTarget();
|
|
@@ -4913,7 +4913,7 @@ class zf extends at {
|
|
|
4913
4913
|
}
|
|
4914
4914
|
}
|
|
4915
4915
|
const Jy = /* @__PURE__ */ new y(), BO = /* @__PURE__ */ new y(), QO = /* @__PURE__ */ new Je();
|
|
4916
|
-
class
|
|
4916
|
+
class ko {
|
|
4917
4917
|
constructor(A = new y(1, 0, 0), e = 0) {
|
|
4918
4918
|
this.isPlane = !0, this.normal = A, this.constant = e;
|
|
4919
4919
|
}
|
|
@@ -4985,7 +4985,7 @@ class So {
|
|
|
4985
4985
|
}
|
|
4986
4986
|
const qa = /* @__PURE__ */ new gI(), wd = /* @__PURE__ */ new y();
|
|
4987
4987
|
class jf {
|
|
4988
|
-
constructor(A = new
|
|
4988
|
+
constructor(A = new ko(), e = new ko(), t = new ko(), g = new ko(), I = new ko(), o = new ko()) {
|
|
4989
4989
|
this.planes = [A, e, t, g, I, o];
|
|
4990
4990
|
}
|
|
4991
4991
|
set(A, e, t, g, I, o) {
|
|
@@ -9432,7 +9432,7 @@ function z1(i, A, e) {
|
|
|
9432
9432
|
function j1(i) {
|
|
9433
9433
|
const A = this;
|
|
9434
9434
|
let e = null, t = 0, g = !1, I = !1;
|
|
9435
|
-
const o = new
|
|
9435
|
+
const o = new ko(), s = new Je(), C = { value: null, needsUpdate: !1 };
|
|
9436
9436
|
this.uniform = C, this.numPlanes = 0, this.numIntersection = 0, this.init = function(B, Q) {
|
|
9437
9437
|
const E = B.length !== 0 || Q || // enable state of previous frame - the clipping code has to
|
|
9438
9438
|
// run another frame in order to reset the state:
|
|
@@ -9478,12 +9478,12 @@ function j1(i) {
|
|
|
9478
9478
|
function Z1(i) {
|
|
9479
9479
|
let A = /* @__PURE__ */ new WeakMap();
|
|
9480
9480
|
function e(o, s) {
|
|
9481
|
-
return s ===
|
|
9481
|
+
return s === Ro ? o.mapping = Aa : s === pQ && (o.mapping = ea), o;
|
|
9482
9482
|
}
|
|
9483
9483
|
function t(o) {
|
|
9484
9484
|
if (o && o.isTexture && o.isRenderTargetTexture === !1) {
|
|
9485
9485
|
const s = o.mapping;
|
|
9486
|
-
if (s ===
|
|
9486
|
+
if (s === Ro || s === pQ)
|
|
9487
9487
|
if (A.has(o)) {
|
|
9488
9488
|
const C = A.get(o).texture;
|
|
9489
9489
|
return e(C, o.mapping);
|
|
@@ -9870,7 +9870,7 @@ function X1(i, A, e) {
|
|
|
9870
9870
|
}
|
|
9871
9871
|
`
|
|
9872
9872
|
),
|
|
9873
|
-
blending:
|
|
9873
|
+
blending: Xt,
|
|
9874
9874
|
depthTest: !1,
|
|
9875
9875
|
depthWrite: !1
|
|
9876
9876
|
});
|
|
@@ -9905,7 +9905,7 @@ function uF() {
|
|
|
9905
9905
|
}
|
|
9906
9906
|
`
|
|
9907
9907
|
),
|
|
9908
|
-
blending:
|
|
9908
|
+
blending: Xt,
|
|
9909
9909
|
depthTest: !1,
|
|
9910
9910
|
depthWrite: !1
|
|
9911
9911
|
});
|
|
@@ -9938,7 +9938,7 @@ function pF() {
|
|
|
9938
9938
|
}
|
|
9939
9939
|
`
|
|
9940
9940
|
),
|
|
9941
|
-
blending:
|
|
9941
|
+
blending: Xt,
|
|
9942
9942
|
depthTest: !1,
|
|
9943
9943
|
depthWrite: !1
|
|
9944
9944
|
});
|
|
@@ -10008,7 +10008,7 @@ function $1(i) {
|
|
|
10008
10008
|
let A = /* @__PURE__ */ new WeakMap(), e = null;
|
|
10009
10009
|
function t(s) {
|
|
10010
10010
|
if (s && s.isTexture) {
|
|
10011
|
-
const C = s.mapping, n = C ===
|
|
10011
|
+
const C = s.mapping, n = C === Ro || C === pQ, a = C === Aa || C === ea;
|
|
10012
10012
|
if (n || a)
|
|
10013
10013
|
if (s.isRenderTargetTexture && s.needsPMREMUpdate === !0) {
|
|
10014
10014
|
s.needsPMREMUpdate = !1;
|
|
@@ -11362,8 +11362,8 @@ function p4(i, A, e, t, g, I, o) {
|
|
|
11362
11362
|
j.morphAttributes.position !== void 0 && (gA = 1), j.morphAttributes.normal !== void 0 && (gA = 2), j.morphAttributes.color !== void 0 && (gA = 3);
|
|
11363
11363
|
let fA, uA, MA, RA;
|
|
11364
11364
|
if (eA) {
|
|
11365
|
-
const
|
|
11366
|
-
fA =
|
|
11365
|
+
const io = qI[eA];
|
|
11366
|
+
fA = io.vertexShader, uA = io.fragmentShader;
|
|
11367
11367
|
} else
|
|
11368
11368
|
fA = S.vertexShader, uA = S.fragmentShader, C.update(S), MA = C.getVertexShaderID(S), RA = C.getFragmentShaderID(S);
|
|
11369
11369
|
const HA = i.getRenderTarget(), PA = H.isInstancedMesh === !0, re = !!S.map, Ge = !!S.matcap, ie = !!v, P = !!S.aoMap, xA = !!S.lightMap, pA = !!S.bumpMap, LA = !!S.normalMap, GA = !!S.displacementMap, ee = !!S.emissiveMap, zA = !!S.metalnessMap, ZA = !!S.roughnessMap, he = S.anisotropy > 0, me = S.clearcoat > 0, Xe = S.iridescence > 0, T = S.sheen > 0, q = S.transmission > 0, EA = he && !!S.anisotropyMap, KA = me && !!S.clearcoatMap, JA = me && !!S.clearcoatNormalMap, TA = me && !!S.clearcoatRoughnessMap, V = Xe && !!S.iridescenceMap, hA = Xe && !!S.iridescenceThicknessMap, rA = T && !!S.sheenColorMap, VA = T && !!S.sheenRoughnessMap, jA = !!S.specularMap, OA = !!S.specularColorMap, bA = !!S.specularIntensityMap, oe = q && !!S.transmissionMap, de = q && !!S.thicknessMap, pe = !!S.gradientMap, $ = !!S.alphaMap, cA = S.alphaTest > 0, lA = !!S.alphaHash, WA = !!S.extensions, XA = !!j.attributes.uv1, ot = !!j.attributes.uv2, Ft = !!j.attributes.uv3;
|
|
@@ -11983,7 +11983,7 @@ function F4(i, A, e) {
|
|
|
11983
11983
|
if (d.enabled === !1 || d.autoUpdate === !1 && d.needsUpdate === !1 || k.length === 0)
|
|
11984
11984
|
return;
|
|
11985
11985
|
const R = i.getRenderTarget(), S = i.getActiveCubeFace(), m = i.getActiveMipmapLevel(), J = i.state;
|
|
11986
|
-
J.setBlending(
|
|
11986
|
+
J.setBlending(Xt), J.buffers.color.setClear(1, 1, 1, 1), J.buffers.depth.setTest(!0), J.setScissorTest(!1);
|
|
11987
11987
|
const Z = h !== Ds && this.type === Ds, H = h === Ds && this.type !== Ds;
|
|
11988
11988
|
for (let _ = 0, j = k.length; _ < j; _++) {
|
|
11989
11989
|
const x = k[_], v = x.shadow;
|
|
@@ -12075,8 +12075,8 @@ function N4(i, A, e) {
|
|
|
12075
12075
|
setLocked: function(XA) {
|
|
12076
12076
|
$ = XA;
|
|
12077
12077
|
},
|
|
12078
|
-
setClear: function(XA, ot, Ft, fi,
|
|
12079
|
-
|
|
12078
|
+
setClear: function(XA, ot, Ft, fi, io) {
|
|
12079
|
+
io === !0 && (XA *= fi, ot *= fi, Ft *= fi), cA.set(XA, ot, Ft, fi), WA.equals(cA) === !1 && (i.clearColor(XA, ot, Ft, fi), WA.copy(cA));
|
|
12080
12080
|
},
|
|
12081
12081
|
reset: function() {
|
|
12082
12082
|
$ = !1, lA = null, WA.set(-1, 0, 0, 0);
|
|
@@ -12137,7 +12137,7 @@ function N4(i, A, e) {
|
|
|
12137
12137
|
};
|
|
12138
12138
|
}
|
|
12139
12139
|
function o() {
|
|
12140
|
-
let $ = !1, cA = null, lA = null, WA = null, XA = null, ot = null, Ft = null, fi = null,
|
|
12140
|
+
let $ = !1, cA = null, lA = null, WA = null, XA = null, ot = null, Ft = null, fi = null, io = null;
|
|
12141
12141
|
return {
|
|
12142
12142
|
setTest: function(xt) {
|
|
12143
12143
|
$ || (xt ? HA(i.STENCIL_TEST) : PA(i.STENCIL_TEST));
|
|
@@ -12145,20 +12145,20 @@ function N4(i, A, e) {
|
|
|
12145
12145
|
setMask: function(xt) {
|
|
12146
12146
|
cA !== xt && !$ && (i.stencilMask(xt), cA = xt);
|
|
12147
12147
|
},
|
|
12148
|
-
setFunc: function(xt,
|
|
12149
|
-
(lA !== xt || WA !==
|
|
12148
|
+
setFunc: function(xt, go, sg) {
|
|
12149
|
+
(lA !== xt || WA !== go || XA !== sg) && (i.stencilFunc(xt, go, sg), lA = xt, WA = go, XA = sg);
|
|
12150
12150
|
},
|
|
12151
|
-
setOp: function(xt,
|
|
12152
|
-
(ot !== xt || Ft !==
|
|
12151
|
+
setOp: function(xt, go, sg) {
|
|
12152
|
+
(ot !== xt || Ft !== go || fi !== sg) && (i.stencilOp(xt, go, sg), ot = xt, Ft = go, fi = sg);
|
|
12153
12153
|
},
|
|
12154
12154
|
setLocked: function(xt) {
|
|
12155
12155
|
$ = xt;
|
|
12156
12156
|
},
|
|
12157
12157
|
setClear: function(xt) {
|
|
12158
|
-
|
|
12158
|
+
io !== xt && (i.clearStencil(xt), io = xt);
|
|
12159
12159
|
},
|
|
12160
12160
|
reset: function() {
|
|
12161
|
-
$ = !1, cA = null, lA = null, WA = null, XA = null, ot = null, Ft = null, fi = null,
|
|
12161
|
+
$ = !1, cA = null, lA = null, WA = null, XA = null, ot = null, Ft = null, fi = null, io = null;
|
|
12162
12162
|
}
|
|
12163
12163
|
};
|
|
12164
12164
|
}
|
|
@@ -12178,7 +12178,7 @@ function N4(i, A, e) {
|
|
|
12178
12178
|
return ot;
|
|
12179
12179
|
}
|
|
12180
12180
|
const RA = {};
|
|
12181
|
-
RA[i.TEXTURE_2D] = MA(i.TEXTURE_2D, i.TEXTURE_2D, 1), RA[i.TEXTURE_CUBE_MAP] = MA(i.TEXTURE_CUBE_MAP, i.TEXTURE_CUBE_MAP_POSITIVE_X, 6), t && (RA[i.TEXTURE_2D_ARRAY] = MA(i.TEXTURE_2D_ARRAY, i.TEXTURE_2D_ARRAY, 1, 1), RA[i.TEXTURE_3D] = MA(i.TEXTURE_3D, i.TEXTURE_3D, 1, 1)), s.setClear(0, 0, 0, 1), C.setClear(1), n.setClear(0), HA(i.DEPTH_TEST), C.setFunc(dQ), GA(!1), ee(H0), HA(i.CULL_FACE), pA(
|
|
12181
|
+
RA[i.TEXTURE_2D] = MA(i.TEXTURE_2D, i.TEXTURE_2D, 1), RA[i.TEXTURE_CUBE_MAP] = MA(i.TEXTURE_CUBE_MAP, i.TEXTURE_CUBE_MAP_POSITIVE_X, 6), t && (RA[i.TEXTURE_2D_ARRAY] = MA(i.TEXTURE_2D_ARRAY, i.TEXTURE_2D_ARRAY, 1, 1), RA[i.TEXTURE_3D] = MA(i.TEXTURE_3D, i.TEXTURE_3D, 1, 1)), s.setClear(0, 0, 0, 1), C.setClear(1), n.setClear(0), HA(i.DEPTH_TEST), C.setFunc(dQ), GA(!1), ee(H0), HA(i.CULL_FACE), pA(Xt);
|
|
12182
12182
|
function HA($) {
|
|
12183
12183
|
Q[$] !== !0 && (i.enable($), Q[$] = !0);
|
|
12184
12184
|
}
|
|
@@ -12232,7 +12232,7 @@ function N4(i, A, e) {
|
|
|
12232
12232
|
[pv]: i.ONE_MINUS_DST_ALPHA
|
|
12233
12233
|
};
|
|
12234
12234
|
function pA($, cA, lA, WA, XA, ot, Ft, fi) {
|
|
12235
|
-
if ($ ===
|
|
12235
|
+
if ($ === Xt) {
|
|
12236
12236
|
h === !0 && (PA(i.BLEND), h = !1);
|
|
12237
12237
|
return;
|
|
12238
12238
|
}
|
|
@@ -12283,7 +12283,7 @@ function N4(i, A, e) {
|
|
|
12283
12283
|
function LA($, cA) {
|
|
12284
12284
|
$.side === Gt ? PA(i.CULL_FACE) : HA(i.CULL_FACE);
|
|
12285
12285
|
let lA = $.side === di;
|
|
12286
|
-
cA && (lA = !lA), GA(lA), $.blending === Wn && $.transparent === !1 ? pA(
|
|
12286
|
+
cA && (lA = !lA), GA(lA), $.blending === Wn && $.transparent === !1 ? pA(Xt) : pA($.blending, $.blendEquation, $.blendSrc, $.blendDst, $.blendEquationAlpha, $.blendSrcAlpha, $.blendDstAlpha, $.premultipliedAlpha), C.setFunc($.depthFunc), C.setTest($.depthTest), C.setMask($.depthWrite), s.setMask($.colorWrite);
|
|
12287
12287
|
const WA = $.stencilWrite;
|
|
12288
12288
|
n.setTest(WA), WA && (n.setMask($.stencilWriteMask), n.setFunc($.stencilFunc, $.stencilRef, $.stencilFuncMask), n.setOp($.stencilFail, $.stencilZFail, $.stencilZPass)), ZA($.polygonOffset, $.polygonOffsetFactor, $.polygonOffsetUnits), $.alphaToCoverage === !0 ? HA(i.SAMPLE_ALPHA_TO_COVERAGE) : PA(i.SAMPLE_ALPHA_TO_COVERAGE);
|
|
12289
12289
|
}
|
|
@@ -12592,7 +12592,7 @@ function K4(i, A, e, t, g, I, o) {
|
|
|
12592
12592
|
e.bindTexture(i.TEXTURE_CUBE_MAP, EA.__webglTexture, i.TEXTURE0 + q);
|
|
12593
12593
|
}
|
|
12594
12594
|
const uA = {
|
|
12595
|
-
[
|
|
12595
|
+
[Fo]: i.REPEAT,
|
|
12596
12596
|
[ig]: i.CLAMP_TO_EDGE,
|
|
12597
12597
|
[Gr]: i.MIRRORED_REPEAT
|
|
12598
12598
|
}, MA = {
|
|
@@ -12601,7 +12601,7 @@ function K4(i, A, e, t, g, I, o) {
|
|
|
12601
12601
|
[ur]: i.NEAREST_MIPMAP_LINEAR,
|
|
12602
12602
|
[Le]: i.LINEAR,
|
|
12603
12603
|
[gl]: i.LINEAR_MIPMAP_NEAREST,
|
|
12604
|
-
[
|
|
12604
|
+
[No]: i.LINEAR_MIPMAP_LINEAR
|
|
12605
12605
|
}, RA = {
|
|
12606
12606
|
[zv]: i.NEVER,
|
|
12607
12607
|
[tb]: i.ALWAYS,
|
|
@@ -12615,7 +12615,7 @@ function K4(i, A, e, t, g, I, o) {
|
|
|
12615
12615
|
function HA(T, q, EA) {
|
|
12616
12616
|
if (EA ? (i.texParameteri(T, i.TEXTURE_WRAP_S, uA[q.wrapS]), i.texParameteri(T, i.TEXTURE_WRAP_T, uA[q.wrapT]), (T === i.TEXTURE_3D || T === i.TEXTURE_2D_ARRAY) && i.texParameteri(T, i.TEXTURE_WRAP_R, uA[q.wrapR]), i.texParameteri(T, i.TEXTURE_MAG_FILTER, MA[q.magFilter]), i.texParameteri(T, i.TEXTURE_MIN_FILTER, MA[q.minFilter])) : (i.texParameteri(T, i.TEXTURE_WRAP_S, i.CLAMP_TO_EDGE), i.texParameteri(T, i.TEXTURE_WRAP_T, i.CLAMP_TO_EDGE), (T === i.TEXTURE_3D || T === i.TEXTURE_2D_ARRAY) && i.texParameteri(T, i.TEXTURE_WRAP_R, i.CLAMP_TO_EDGE), (q.wrapS !== ig || q.wrapT !== ig) && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."), i.texParameteri(T, i.TEXTURE_MAG_FILTER, m(q.magFilter)), i.texParameteri(T, i.TEXTURE_MIN_FILTER, m(q.minFilter)), q.minFilter !== He && q.minFilter !== Le && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")), q.compareFunction && (i.texParameteri(T, i.TEXTURE_COMPARE_MODE, i.COMPARE_REF_TO_TEXTURE), i.texParameteri(T, i.TEXTURE_COMPARE_FUNC, RA[q.compareFunction])), A.has("EXT_texture_filter_anisotropic") === !0) {
|
|
12617
12617
|
const KA = A.get("EXT_texture_filter_anisotropic");
|
|
12618
|
-
if (q.magFilter === He || q.minFilter !== ur && q.minFilter !==
|
|
12618
|
+
if (q.magFilter === He || q.minFilter !== ur && q.minFilter !== No || q.type === oi && A.has("OES_texture_float_linear") === !1 || s === !1 && q.type === Ui && A.has("OES_texture_half_float_linear") === !1)
|
|
12619
12619
|
return;
|
|
12620
12620
|
(q.anisotropy > 1 || t.get(q).__currentAnisotropy) && (i.texParameterf(T, KA.TEXTURE_MAX_ANISOTROPY_EXT, Math.min(q.anisotropy, g.getMaxAnisotropy())), t.get(q).__currentAnisotropy = q.anisotropy);
|
|
12621
12621
|
}
|
|
@@ -13680,7 +13680,7 @@ class br {
|
|
|
13680
13680
|
}, this.clearStencil = function() {
|
|
13681
13681
|
this.clear(!1, !1, !0);
|
|
13682
13682
|
}, this.dispose = function() {
|
|
13683
|
-
e.removeEventListener("webglcontextlost", cA, !1), e.removeEventListener("webglcontextrestored", lA, !1), e.removeEventListener("webglcontextcreationerror", WA, !1), JA.dispose(), TA.dispose(), zA.dispose(), he.dispose(), me.dispose(), q.dispose(), oe.dispose(), de.dispose(), EA.dispose(), $.dispose(), $.removeEventListener("sessionstart", xt), $.removeEventListener("sessionend",
|
|
13683
|
+
e.removeEventListener("webglcontextlost", cA, !1), e.removeEventListener("webglcontextrestored", lA, !1), e.removeEventListener("webglcontextcreationerror", WA, !1), JA.dispose(), TA.dispose(), zA.dispose(), he.dispose(), me.dispose(), q.dispose(), oe.dispose(), de.dispose(), EA.dispose(), $.dispose(), $.removeEventListener("sessionstart", xt), $.removeEventListener("sessionend", go), RA && (RA.dispose(), RA = null), sg.stop();
|
|
13684
13684
|
};
|
|
13685
13685
|
function cA(w) {
|
|
13686
13686
|
w.preventDefault(), console.log("THREE.WebGLRenderer: Context Lost."), f = !0;
|
|
@@ -13753,19 +13753,19 @@ class br {
|
|
|
13753
13753
|
}), p.pop(), d = null;
|
|
13754
13754
|
};
|
|
13755
13755
|
let fi = null;
|
|
13756
|
-
function
|
|
13756
|
+
function io(w) {
|
|
13757
13757
|
fi && fi(w);
|
|
13758
13758
|
}
|
|
13759
13759
|
function xt() {
|
|
13760
13760
|
sg.stop();
|
|
13761
13761
|
}
|
|
13762
|
-
function
|
|
13762
|
+
function go() {
|
|
13763
13763
|
sg.start();
|
|
13764
13764
|
}
|
|
13765
13765
|
const sg = new Cb();
|
|
13766
|
-
sg.setAnimationLoop(
|
|
13766
|
+
sg.setAnimationLoop(io), typeof self < "u" && sg.setContext(self), this.setAnimationLoop = function(w) {
|
|
13767
13767
|
fi = w, $.setAnimationLoop(w), w === null ? sg.stop() : sg.start();
|
|
13768
|
-
}, $.addEventListener("sessionstart", xt), $.addEventListener("sessionend",
|
|
13768
|
+
}, $.addEventListener("sessionstart", xt), $.addEventListener("sessionend", go), this.render = function(w, N) {
|
|
13769
13769
|
if (N !== void 0 && N.isCamera !== !0) {
|
|
13770
13770
|
console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");
|
|
13771
13771
|
return;
|
|
@@ -13825,7 +13825,7 @@ class br {
|
|
|
13825
13825
|
RA === null && (RA = new at(1, 1, {
|
|
13826
13826
|
generateMipmaps: !0,
|
|
13827
13827
|
type: pA.has("EXT_color_buffer_half_float") ? Ui : ut,
|
|
13828
|
-
minFilter:
|
|
13828
|
+
minFilter: No,
|
|
13829
13829
|
samples: O ? 4 : 0
|
|
13830
13830
|
})), u.getDrawingBufferSize(PA), O ? RA.setSize(PA.x, PA.y) : RA.setSize(vp(PA.x), vp(PA.y));
|
|
13831
13831
|
const CA = u.getRenderTarget();
|
|
@@ -13876,8 +13876,8 @@ class br {
|
|
|
13876
13876
|
N.isScene !== !0 && (N = Ge), ZA.resetTextureUnits();
|
|
13877
13877
|
const CA = N.fog, dA = L.isMeshStandardMaterial ? N.environment : null, DA = M === null ? u.outputColorSpace : M.isXRRenderTarget === !0 ? M.texture.colorSpace : ui, QA = (L.isMeshStandardMaterial ? me : he).get(L.envMap || dA), yA = L.vertexColors === !0 && !!b.attributes.color && b.attributes.color.itemSize === 4, qA = !!b.attributes.tangent && (!!L.normalMap || L.anisotropy > 0), vA = !!b.morphAttributes.position, $A = !!b.morphAttributes.normal, Qe = !!b.morphAttributes.color, te = L.toneMapped ? u.toneMapping : AI, ne = b.morphAttributes.position || b.morphAttributes.normal || b.morphAttributes.color, Ee = ne !== void 0 ? ne.length : 0, ce = zA.get(L), Nt = d.state.lights;
|
|
13878
13878
|
if (uA === !0 && (MA === !0 || w !== S)) {
|
|
13879
|
-
const
|
|
13880
|
-
V.setState(L, w,
|
|
13879
|
+
const zt = w === S && L.id === R;
|
|
13880
|
+
V.setState(L, w, zt);
|
|
13881
13881
|
}
|
|
13882
13882
|
let rt = !1;
|
|
13883
13883
|
L.version === ce.__version ? (ce.needsLights && ce.lightsStateVersion !== Nt.state.version || ce.outputColorSpace !== DA || O.isInstancedMesh && ce.instancing === !1 || !O.isInstancedMesh && ce.instancing === !0 || O.isSkinnedMesh && ce.skinning === !1 || !O.isSkinnedMesh && ce.skinning === !0 || ce.envMap !== QA || L.fog === !0 && ce.fog !== CA || ce.numClippingPlanes !== void 0 && (ce.numClippingPlanes !== V.numPlanes || ce.numIntersection !== V.numIntersection) || ce.vertexAlphas !== yA || ce.vertexTangents !== qA || ce.morphTargets !== vA || ce.morphNormals !== $A || ce.morphColors !== Qe || ce.toneMapping !== te || LA.isWebGL2 === !0 && ce.morphTargetsCount !== Ee) && (rt = !0) : (rt = !0, ce.__version = L.version);
|
|
@@ -13891,8 +13891,8 @@ class br {
|
|
|
13891
13891
|
"logDepthBufFC",
|
|
13892
13892
|
2 / (Math.log(w.far + 1) / Math.LN2)
|
|
13893
13893
|
), S !== w && (S = w, Kt = !0, yg = !0), L.isShaderMaterial || L.isMeshPhongMaterial || L.isMeshToonMaterial || L.isMeshStandardMaterial || L.envMap) {
|
|
13894
|
-
const
|
|
13895
|
-
|
|
13894
|
+
const zt = st.map.cameraPosition;
|
|
13895
|
+
zt !== void 0 && zt.setValue(
|
|
13896
13896
|
P,
|
|
13897
13897
|
re.setFromMatrixPosition(w.matrixWorld)
|
|
13898
13898
|
);
|
|
@@ -13901,15 +13901,15 @@ class br {
|
|
|
13901
13901
|
}
|
|
13902
13902
|
if (O.isSkinnedMesh) {
|
|
13903
13903
|
st.setOptional(P, O, "bindMatrix"), st.setOptional(P, O, "bindMatrixInverse");
|
|
13904
|
-
const
|
|
13905
|
-
|
|
13904
|
+
const zt = O.skeleton;
|
|
13905
|
+
zt && (LA.floatVertexTextures ? (zt.boneTexture === null && zt.computeBoneTexture(), st.setValue(P, "boneTexture", zt.boneTexture, ZA), st.setValue(P, "boneTextureSize", zt.boneTextureSize)) : console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."));
|
|
13906
13906
|
}
|
|
13907
13907
|
const ht = b.morphAttributes;
|
|
13908
13908
|
if ((ht.position !== void 0 || ht.normal !== void 0 || ht.color !== void 0 && LA.isWebGL2 === !0) && VA.update(O, b, Ct), (Kt || ce.receiveShadow !== O.receiveShadow) && (ce.receiveShadow = O.receiveShadow, st.setValue(P, "receiveShadow", O.receiveShadow)), L.isMeshGouraudMaterial && L.envMap !== null && (Ve.envMap.value = QA, Ve.flipEnvMap.value = QA.isCubeTexture && QA.isRenderTargetTexture === !1 ? -1 : 1), Kt && (st.setValue(P, "toneMappingExposure", u.toneMappingExposure), ce.needsLights && cy(Ve, yg), CA && L.fog === !0 && KA.refreshFogUniforms(Ve, CA), KA.refreshMaterialUniforms(Ve, L, v, x, RA), Hu.upload(P, ce.uniformsList, Ve, ZA)), L.isShaderMaterial && L.uniformsNeedUpdate === !0 && (Hu.upload(P, ce.uniformsList, Ve, ZA), L.uniformsNeedUpdate = !1), L.isSpriteMaterial && st.setValue(P, "center", O.center), st.setValue(P, "modelViewMatrix", O.modelViewMatrix), st.setValue(P, "normalMatrix", O.normalMatrix), st.setValue(P, "modelMatrix", O.matrixWorld), L.isShaderMaterial || L.isRawShaderMaterial) {
|
|
13909
|
-
const
|
|
13910
|
-
for (let tC = 0,
|
|
13909
|
+
const zt = L.uniformsGroups;
|
|
13910
|
+
for (let tC = 0, Io = zt.length; tC < Io; tC++)
|
|
13911
13911
|
if (LA.isWebGL2) {
|
|
13912
|
-
const Fa =
|
|
13912
|
+
const Fa = zt[tC];
|
|
13913
13913
|
de.update(Fa, Ct), de.bind(Fa, Ct);
|
|
13914
13914
|
} else
|
|
13915
13915
|
console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.");
|
|
@@ -14438,7 +14438,7 @@ class Cl extends FA {
|
|
|
14438
14438
|
super(), this.isBone = !0, this.type = "Bone";
|
|
14439
14439
|
}
|
|
14440
14440
|
}
|
|
14441
|
-
class
|
|
14441
|
+
class Uo extends qe {
|
|
14442
14442
|
constructor(A = null, e = 1, t = 1, g, I, o, s, C, n = He, a = He, B, Q) {
|
|
14443
14443
|
super(null, o, s, C, n, a, g, I, B, Q), this.isDataTexture = !0, this.image = { data: A, width: e, height: t }, this.generateMipmaps = !1, this.flipY = !1, this.unpackAlignment = 1;
|
|
14444
14444
|
}
|
|
@@ -14491,7 +14491,7 @@ class TQ {
|
|
|
14491
14491
|
A = ib(A), A = Math.max(A, 4);
|
|
14492
14492
|
const e = new Float32Array(A * A * 4);
|
|
14493
14493
|
e.set(this.boneMatrices);
|
|
14494
|
-
const t = new
|
|
14494
|
+
const t = new Uo(e, A, A, Ut, oi);
|
|
14495
14495
|
return t.needsUpdate = !0, this.boneMatrices = e, this.boneTexture = t, this.boneTextureSize = A, this;
|
|
14496
14496
|
}
|
|
14497
14497
|
getBoneByName(A) {
|
|
@@ -15992,7 +15992,7 @@ function mr(i, A) {
|
|
|
15992
15992
|
A || (A = i);
|
|
15993
15993
|
let e = i, t;
|
|
15994
15994
|
do
|
|
15995
|
-
if (t = !1, !e.steiner && (nD(e, e.next) ||
|
|
15995
|
+
if (t = !1, !e.steiner && (nD(e, e.next) || Zt(e.prev, e, e.next) === 0)) {
|
|
15996
15996
|
if (Dh(e), e = A = e.prev, e === e.next)
|
|
15997
15997
|
break;
|
|
15998
15998
|
t = !0;
|
|
@@ -16019,12 +16019,12 @@ function ph(i, A, e, t, g, I, o) {
|
|
|
16019
16019
|
}
|
|
16020
16020
|
function X4(i) {
|
|
16021
16021
|
const A = i.prev, e = i, t = i.next;
|
|
16022
|
-
if (
|
|
16022
|
+
if (Zt(A, e, t) >= 0)
|
|
16023
16023
|
return !1;
|
|
16024
16024
|
const g = A.x, I = e.x, o = t.x, s = A.y, C = e.y, n = t.y, a = g < I ? g < o ? g : o : I < o ? I : o, B = s < C ? s < n ? s : n : C < n ? C : n, Q = g > I ? g > o ? g : o : I > o ? I : o, E = s > C ? s > n ? s : n : C > n ? C : n;
|
|
16025
16025
|
let c = t.next;
|
|
16026
16026
|
for (; c !== A; ) {
|
|
16027
|
-
if (c.x >= a && c.x <= Q && c.y >= B && c.y <= E && zB(g, s, I, C, o, n, c.x, c.y) &&
|
|
16027
|
+
if (c.x >= a && c.x <= Q && c.y >= B && c.y <= E && zB(g, s, I, C, o, n, c.x, c.y) && Zt(c.prev, c, c.next) >= 0)
|
|
16028
16028
|
return !1;
|
|
16029
16029
|
c = c.next;
|
|
16030
16030
|
}
|
|
@@ -16032,22 +16032,22 @@ function X4(i) {
|
|
|
16032
16032
|
}
|
|
16033
16033
|
function $4(i, A, e, t) {
|
|
16034
16034
|
const g = i.prev, I = i, o = i.next;
|
|
16035
|
-
if (
|
|
16035
|
+
if (Zt(g, I, o) >= 0)
|
|
16036
16036
|
return !1;
|
|
16037
16037
|
const s = g.x, C = I.x, n = o.x, a = g.y, B = I.y, Q = o.y, E = s < C ? s < n ? s : n : C < n ? C : n, c = a < B ? a < Q ? a : Q : B < Q ? B : Q, l = s > C ? s > n ? s : n : C > n ? C : n, d = a > B ? a > Q ? a : Q : B > Q ? B : Q, h = lk(E, c, A, e, t), p = lk(l, d, A, e, t);
|
|
16038
16038
|
let u = i.prevZ, f = i.nextZ;
|
|
16039
16039
|
for (; u && u.z >= h && f && f.z <= p; ) {
|
|
16040
|
-
if (u.x >= E && u.x <= l && u.y >= c && u.y <= d && u !== g && u !== o && zB(s, a, C, B, n, Q, u.x, u.y) &&
|
|
16040
|
+
if (u.x >= E && u.x <= l && u.y >= c && u.y <= d && u !== g && u !== o && zB(s, a, C, B, n, Q, u.x, u.y) && Zt(u.prev, u, u.next) >= 0 || (u = u.prevZ, f.x >= E && f.x <= l && f.y >= c && f.y <= d && f !== g && f !== o && zB(s, a, C, B, n, Q, f.x, f.y) && Zt(f.prev, f, f.next) >= 0))
|
|
16041
16041
|
return !1;
|
|
16042
16042
|
f = f.nextZ;
|
|
16043
16043
|
}
|
|
16044
16044
|
for (; u && u.z >= h; ) {
|
|
16045
|
-
if (u.x >= E && u.x <= l && u.y >= c && u.y <= d && u !== g && u !== o && zB(s, a, C, B, n, Q, u.x, u.y) &&
|
|
16045
|
+
if (u.x >= E && u.x <= l && u.y >= c && u.y <= d && u !== g && u !== o && zB(s, a, C, B, n, Q, u.x, u.y) && Zt(u.prev, u, u.next) >= 0)
|
|
16046
16046
|
return !1;
|
|
16047
16047
|
u = u.prevZ;
|
|
16048
16048
|
}
|
|
16049
16049
|
for (; f && f.z <= p; ) {
|
|
16050
|
-
if (f.x >= E && f.x <= l && f.y >= c && f.y <= d && f !== g && f !== o && zB(s, a, C, B, n, Q, f.x, f.y) &&
|
|
16050
|
+
if (f.x >= E && f.x <= l && f.y >= c && f.y <= d && f !== g && f !== o && zB(s, a, C, B, n, Q, f.x, f.y) && Zt(f.prev, f, f.next) >= 0)
|
|
16051
16051
|
return !1;
|
|
16052
16052
|
f = f.nextZ;
|
|
16053
16053
|
}
|
|
@@ -16117,7 +16117,7 @@ function IW(i, A) {
|
|
|
16117
16117
|
return g;
|
|
16118
16118
|
}
|
|
16119
16119
|
function oW(i, A) {
|
|
16120
|
-
return
|
|
16120
|
+
return Zt(i.prev, i, A.prev) < 0 && Zt(A.next, i, i.next) < 0;
|
|
16121
16121
|
}
|
|
16122
16122
|
function sW(i, A, e, t) {
|
|
16123
16123
|
let g = i;
|
|
@@ -16156,17 +16156,17 @@ function zB(i, A, e, t, g, I, o, s) {
|
|
|
16156
16156
|
function aW(i, A) {
|
|
16157
16157
|
return i.next.i !== A.i && i.prev.i !== A.i && !rW(i, A) && // dones't intersect other edges
|
|
16158
16158
|
(fh(i, A) && fh(A, i) && BW(i, A) && // locally visible
|
|
16159
|
-
(
|
|
16160
|
-
nD(i, A) &&
|
|
16159
|
+
(Zt(i.prev, i, A.prev) || Zt(i, A.prev, A)) || // does not create opposite-facing sectors
|
|
16160
|
+
nD(i, A) && Zt(i.prev, i, i.next) > 0 && Zt(A.prev, A, A.next) > 0);
|
|
16161
16161
|
}
|
|
16162
|
-
function
|
|
16162
|
+
function Zt(i, A, e) {
|
|
16163
16163
|
return (A.y - i.y) * (e.x - A.x) - (A.x - i.x) * (e.y - A.y);
|
|
16164
16164
|
}
|
|
16165
16165
|
function nD(i, A) {
|
|
16166
16166
|
return i.x === A.x && i.y === A.y;
|
|
16167
16167
|
}
|
|
16168
16168
|
function mb(i, A, e, t) {
|
|
16169
|
-
const g = Ld(
|
|
16169
|
+
const g = Ld(Zt(i, A, e)), I = Ld(Zt(i, A, t)), o = Ld(Zt(e, t, i)), s = Ld(Zt(e, t, A));
|
|
16170
16170
|
return !!(g !== I && o !== s || g === 0 && bd(i, e, A) || I === 0 && bd(i, t, A) || o === 0 && bd(e, i, t) || s === 0 && bd(e, A, t));
|
|
16171
16171
|
}
|
|
16172
16172
|
function bd(i, A, e) {
|
|
@@ -16185,7 +16185,7 @@ function rW(i, A) {
|
|
|
16185
16185
|
return !1;
|
|
16186
16186
|
}
|
|
16187
16187
|
function fh(i, A) {
|
|
16188
|
-
return
|
|
16188
|
+
return Zt(i.prev, i, i.next) < 0 ? Zt(i, A, i.next) >= 0 && Zt(i, i.prev, A) >= 0 : Zt(i, A, i.prev) < 0 || Zt(i, i.next, A) < 0;
|
|
16189
16189
|
}
|
|
16190
16190
|
function BW(i, A) {
|
|
16191
16191
|
let e = i, t = !1;
|
|
@@ -16739,7 +16739,7 @@ function hW(i, A) {
|
|
|
16739
16739
|
A.shapes.push(i.uuid);
|
|
16740
16740
|
return A;
|
|
16741
16741
|
}
|
|
16742
|
-
class
|
|
16742
|
+
class Jo extends ue {
|
|
16743
16743
|
constructor(A = 1, e = 32, t = 16, g = 0, I = Math.PI * 2, o = 0, s = Math.PI) {
|
|
16744
16744
|
super(), this.type = "SphereGeometry", this.parameters = {
|
|
16745
16745
|
radius: A,
|
|
@@ -16774,7 +16774,7 @@ class Ko extends ue {
|
|
|
16774
16774
|
return super.copy(A), this.parameters = Object.assign({}, A.parameters), this;
|
|
16775
16775
|
}
|
|
16776
16776
|
static fromJSON(A) {
|
|
16777
|
-
return new
|
|
16777
|
+
return new Jo(A.radius, A.widthSegments, A.heightSegments, A.phiStart, A.phiLength, A.thetaStart, A.thetaLength);
|
|
16778
16778
|
}
|
|
16779
16779
|
}
|
|
16780
16780
|
class BD extends ha {
|
|
@@ -16993,7 +16993,7 @@ var IN = /* @__PURE__ */ Object.freeze({
|
|
|
16993
16993
|
PolyhedronGeometry: ha,
|
|
16994
16994
|
RingGeometry: rl,
|
|
16995
16995
|
ShapeGeometry: rD,
|
|
16996
|
-
SphereGeometry:
|
|
16996
|
+
SphereGeometry: Jo,
|
|
16997
16997
|
TetrahedronGeometry: BD,
|
|
16998
16998
|
TorusGeometry: mC,
|
|
16999
16999
|
TorusKnotGeometry: QD,
|
|
@@ -17120,7 +17120,7 @@ class Jb extends pi {
|
|
|
17120
17120
|
return super.copy(A), this.scale = A.scale, this.dashSize = A.dashSize, this.gapSize = A.gapSize, this;
|
|
17121
17121
|
}
|
|
17122
17122
|
}
|
|
17123
|
-
function
|
|
17123
|
+
function Do(i, A, e) {
|
|
17124
17124
|
return Km(i) ? new i.constructor(i.subarray(A, e !== void 0 ? e : i.length)) : i.slice(A, e);
|
|
17125
17125
|
}
|
|
17126
17126
|
function Qr(i, A, e) {
|
|
@@ -17215,13 +17215,13 @@ function dW(i, A = 0, e = i, t = 30) {
|
|
|
17215
17215
|
let l;
|
|
17216
17216
|
if (I <= s.times[0]) {
|
|
17217
17217
|
const h = a, p = B - a;
|
|
17218
|
-
l =
|
|
17218
|
+
l = Do(s.values, h, p);
|
|
17219
17219
|
} else if (I >= s.times[c]) {
|
|
17220
17220
|
const h = c * B + a, p = h + B - a;
|
|
17221
|
-
l =
|
|
17221
|
+
l = Do(s.values, h, p);
|
|
17222
17222
|
} else {
|
|
17223
17223
|
const h = s.createInterpolant(), p = a, u = B - a;
|
|
17224
|
-
h.evaluate(I), l =
|
|
17224
|
+
h.evaluate(I), l = Do(h.resultBuffer, p, u);
|
|
17225
17225
|
}
|
|
17226
17226
|
C === "quaternion" && new mA().fromArray(l).normalize().conjugate().toArray(l);
|
|
17227
17227
|
const d = n.times.length;
|
|
@@ -17246,7 +17246,7 @@ function dW(i, A = 0, e = i, t = 30) {
|
|
|
17246
17246
|
return i.blendMode = nm, i;
|
|
17247
17247
|
}
|
|
17248
17248
|
const uW = {
|
|
17249
|
-
arraySlice:
|
|
17249
|
+
arraySlice: Do,
|
|
17250
17250
|
convertArray: Qr,
|
|
17251
17251
|
isTypedArray: Km,
|
|
17252
17252
|
getKeyframeOrder: qb,
|
|
@@ -17490,7 +17490,7 @@ class pI {
|
|
|
17490
17490
|
if (++o, I !== 0 || o !== g) {
|
|
17491
17491
|
I >= o && (o = Math.max(o, 1), I = o - 1);
|
|
17492
17492
|
const s = this.getValueSize();
|
|
17493
|
-
this.times =
|
|
17493
|
+
this.times = Do(t, I, o), this.values = Do(this.values, I * s, o * s);
|
|
17494
17494
|
}
|
|
17495
17495
|
return this;
|
|
17496
17496
|
}
|
|
@@ -17527,7 +17527,7 @@ class pI {
|
|
|
17527
17527
|
// removes equivalent sequential keys as common in morph target sequences
|
|
17528
17528
|
// (0,0,0,0,1,1,1,0,0,0,0,0,0,0) --> (0,0,1,1,0,0)
|
|
17529
17529
|
optimize() {
|
|
17530
|
-
const A =
|
|
17530
|
+
const A = Do(this.times), e = Do(this.values), t = this.getValueSize(), g = this.getInterpolation() === Yu, I = A.length - 1;
|
|
17531
17531
|
let o = 1;
|
|
17532
17532
|
for (let s = 1; s < I; ++s) {
|
|
17533
17533
|
let C = !1;
|
|
@@ -17561,10 +17561,10 @@ class pI {
|
|
|
17561
17561
|
e[C + n] = e[s + n];
|
|
17562
17562
|
++o;
|
|
17563
17563
|
}
|
|
17564
|
-
return o !== A.length ? (this.times =
|
|
17564
|
+
return o !== A.length ? (this.times = Do(A, 0, o), this.values = Do(e, 0, o * t)) : (this.times = A, this.values = e), this;
|
|
17565
17565
|
}
|
|
17566
17566
|
clone() {
|
|
17567
|
-
const A =
|
|
17567
|
+
const A = Do(this.times, 0), e = Do(this.values, 0), t = this.constructor, g = new t(this.name, A, e);
|
|
17568
17568
|
return g.createInterpolant = this.createInterpolant, g;
|
|
17569
17569
|
}
|
|
17570
17570
|
}
|
|
@@ -18111,10 +18111,10 @@ class vm extends fg {
|
|
|
18111
18111
|
super(A);
|
|
18112
18112
|
}
|
|
18113
18113
|
load(A, e, t, g) {
|
|
18114
|
-
const I = this, o = new
|
|
18114
|
+
const I = this, o = new Uo(), s = new _i(this.manager);
|
|
18115
18115
|
return s.setResponseType("arraybuffer"), s.setRequestHeader(this.requestHeader), s.setPath(this.path), s.setWithCredentials(I.withCredentials), s.load(A, function(C) {
|
|
18116
18116
|
const n = I.parse(C);
|
|
18117
|
-
n && (n.image !== void 0 ? o.image = n.image : n.data !== void 0 && (o.image.width = n.width, o.image.height = n.height, o.image.data = n.data), o.wrapS = n.wrapS !== void 0 ? n.wrapS : ig, o.wrapT = n.wrapT !== void 0 ? n.wrapT : ig, o.magFilter = n.magFilter !== void 0 ? n.magFilter : Le, o.minFilter = n.minFilter !== void 0 ? n.minFilter : Le, o.anisotropy = n.anisotropy !== void 0 ? n.anisotropy : 1, n.colorSpace !== void 0 ? o.colorSpace = n.colorSpace : n.encoding !== void 0 && (o.encoding = n.encoding), n.flipY !== void 0 && (o.flipY = n.flipY), n.format !== void 0 && (o.format = n.format), n.type !== void 0 && (o.type = n.type), n.mipmaps !== void 0 && (o.mipmaps = n.mipmaps, o.minFilter =
|
|
18117
|
+
n && (n.image !== void 0 ? o.image = n.image : n.data !== void 0 && (o.image.width = n.width, o.image.height = n.height, o.image.data = n.data), o.wrapS = n.wrapS !== void 0 ? n.wrapS : ig, o.wrapT = n.wrapT !== void 0 ? n.wrapT : ig, o.magFilter = n.magFilter !== void 0 ? n.magFilter : Le, o.minFilter = n.minFilter !== void 0 ? n.minFilter : Le, o.anisotropy = n.anisotropy !== void 0 ? n.anisotropy : 1, n.colorSpace !== void 0 ? o.colorSpace = n.colorSpace : n.encoding !== void 0 && (o.encoding = n.encoding), n.flipY !== void 0 && (o.flipY = n.flipY), n.format !== void 0 && (o.format = n.format), n.type !== void 0 && (o.type = n.type), n.mipmaps !== void 0 && (o.mipmaps = n.mipmaps, o.minFilter = No), n.mipmapCount === 1 && (o.minFilter = Le), n.generateMipmaps !== void 0 && (o.generateMipmaps = n.generateMipmaps), o.needsUpdate = !0, e && e(o, n));
|
|
18118
18118
|
}, t, g), o;
|
|
18119
18119
|
}
|
|
18120
18120
|
}
|
|
@@ -18775,7 +18775,7 @@ class MW extends fg {
|
|
|
18775
18775
|
const E = [];
|
|
18776
18776
|
for (let c = 0, l = Q.length; c < l; c++) {
|
|
18777
18777
|
const d = Q[c], h = s(d);
|
|
18778
|
-
h !== null && (h instanceof HTMLImageElement ? E.push(h) : E.push(new
|
|
18778
|
+
h !== null && (h instanceof HTMLImageElement ? E.push(h) : E.push(new Uo(h.data, h.width, h.height)));
|
|
18779
18779
|
}
|
|
18780
18780
|
g[B.uuid] = new NC(E);
|
|
18781
18781
|
} else {
|
|
@@ -18808,7 +18808,7 @@ class MW extends fg {
|
|
|
18808
18808
|
const a = [];
|
|
18809
18809
|
for (let B = 0, Q = n.length; B < Q; B++) {
|
|
18810
18810
|
const E = n[B], c = await I(E);
|
|
18811
|
-
c !== null && (c instanceof HTMLImageElement ? a.push(c) : a.push(new
|
|
18811
|
+
c !== null && (c instanceof HTMLImageElement ? a.push(c) : a.push(new Uo(c.data, c.width, c.height)));
|
|
18812
18812
|
}
|
|
18813
18813
|
t[C.uuid] = new NC(a);
|
|
18814
18814
|
} else {
|
|
@@ -18830,7 +18830,7 @@ class MW extends fg {
|
|
|
18830
18830
|
s.image === void 0 && console.warn('THREE.ObjectLoader: No "image" specified for', s.uuid), e[s.image] === void 0 && console.warn("THREE.ObjectLoader: Undefined image", s.image);
|
|
18831
18831
|
const C = e[s.image], n = C.data;
|
|
18832
18832
|
let a;
|
|
18833
|
-
Array.isArray(n) ? (a = new ol(), n.length === 6 && (a.needsUpdate = !0)) : (n && n.data ? a = new
|
|
18833
|
+
Array.isArray(n) ? (a = new ol(), n.length === 6 && (a.needsUpdate = !0)) : (n && n.data ? a = new Uo() : a = new qe(), n && (a.needsUpdate = !0)), a.source = C, a.uuid = s.uuid, s.name !== void 0 && (a.name = s.name), s.mapping !== void 0 && (a.mapping = t(s.mapping, RW)), s.channel !== void 0 && (a.channel = s.channel), s.offset !== void 0 && a.offset.fromArray(s.offset), s.repeat !== void 0 && a.repeat.fromArray(s.repeat), s.center !== void 0 && a.center.fromArray(s.center), s.rotation !== void 0 && (a.rotation = s.rotation), s.wrap !== void 0 && (a.wrapS = t(s.wrap[0], nN), a.wrapT = t(s.wrap[1], nN)), s.format !== void 0 && (a.format = s.format), s.internalFormat !== void 0 && (a.internalFormat = s.internalFormat), s.type !== void 0 && (a.type = s.type), s.colorSpace !== void 0 && (a.colorSpace = s.colorSpace), s.encoding !== void 0 && (a.encoding = s.encoding), s.minFilter !== void 0 && (a.minFilter = t(s.minFilter, aN)), s.magFilter !== void 0 && (a.magFilter = t(s.magFilter, aN)), s.anisotropy !== void 0 && (a.anisotropy = s.anisotropy), s.flipY !== void 0 && (a.flipY = s.flipY), s.generateMipmaps !== void 0 && (a.generateMipmaps = s.generateMipmaps), s.premultiplyAlpha !== void 0 && (a.premultiplyAlpha = s.premultiplyAlpha), s.unpackAlignment !== void 0 && (a.unpackAlignment = s.unpackAlignment), s.compareFunction !== void 0 && (a.compareFunction = s.compareFunction), s.userData !== void 0 && (a.userData = s.userData), g[s.uuid] = a;
|
|
18834
18834
|
}
|
|
18835
18835
|
return g;
|
|
18836
18836
|
}
|
|
@@ -18961,11 +18961,11 @@ const RW = {
|
|
|
18961
18961
|
UVMapping: Tf,
|
|
18962
18962
|
CubeReflectionMapping: Aa,
|
|
18963
18963
|
CubeRefractionMapping: ea,
|
|
18964
|
-
EquirectangularReflectionMapping:
|
|
18964
|
+
EquirectangularReflectionMapping: Ro,
|
|
18965
18965
|
EquirectangularRefractionMapping: pQ,
|
|
18966
18966
|
CubeUVReflectionMapping: bQ
|
|
18967
18967
|
}, nN = {
|
|
18968
|
-
RepeatWrapping:
|
|
18968
|
+
RepeatWrapping: Fo,
|
|
18969
18969
|
ClampToEdgeWrapping: ig,
|
|
18970
18970
|
MirroredRepeatWrapping: Gr
|
|
18971
18971
|
}, aN = {
|
|
@@ -18974,7 +18974,7 @@ const RW = {
|
|
|
18974
18974
|
NearestMipmapLinearFilter: ur,
|
|
18975
18975
|
LinearFilter: Le,
|
|
18976
18976
|
LinearMipmapNearestFilter: gl,
|
|
18977
|
-
LinearMipmapLinearFilter:
|
|
18977
|
+
LinearMipmapLinearFilter: No
|
|
18978
18978
|
};
|
|
18979
18979
|
class Hb extends fg {
|
|
18980
18980
|
constructor(A) {
|
|
@@ -20693,7 +20693,7 @@ function zb(i) {
|
|
|
20693
20693
|
}
|
|
20694
20694
|
class eV extends wA {
|
|
20695
20695
|
constructor(A, e, t) {
|
|
20696
|
-
const g = new
|
|
20696
|
+
const g = new Jo(e, 4, 2), I = new Et({ wireframe: !0, fog: !1, toneMapped: !1 });
|
|
20697
20697
|
super(g, I), this.light = A, this.color = t, this.type = "PointLightHelper", this.matrix = this.light.matrixWorld, this.matrixAutoUpdate = !1, this.update();
|
|
20698
20698
|
}
|
|
20699
20699
|
dispose() {
|
|
@@ -21132,7 +21132,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21132
21132
|
Clock: Hm,
|
|
21133
21133
|
Color: SA,
|
|
21134
21134
|
ColorKeyframeTrack: hD,
|
|
21135
|
-
ColorManagement:
|
|
21135
|
+
ColorManagement: Bo,
|
|
21136
21136
|
CompressedArrayTexture: pb,
|
|
21137
21137
|
CompressedTexture: xC,
|
|
21138
21138
|
CompressedTextureLoader: yW,
|
|
@@ -21158,7 +21158,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21158
21158
|
Cylindrical: ZW,
|
|
21159
21159
|
Data3DTexture: Wf,
|
|
21160
21160
|
DataArrayTexture: Pf,
|
|
21161
|
-
DataTexture:
|
|
21161
|
+
DataTexture: Uo,
|
|
21162
21162
|
DataTextureLoader: vm,
|
|
21163
21163
|
DataUtils: Br,
|
|
21164
21164
|
DecrementStencilOp: Lv,
|
|
@@ -21183,7 +21183,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21183
21183
|
EqualCompare: Zv,
|
|
21184
21184
|
EqualDepth: uQ,
|
|
21185
21185
|
EqualStencilFunc: _v,
|
|
21186
|
-
EquirectangularReflectionMapping:
|
|
21186
|
+
EquirectangularReflectionMapping: Ro,
|
|
21187
21187
|
EquirectangularRefractionMapping: pQ,
|
|
21188
21188
|
Euler: Fi,
|
|
21189
21189
|
EventDispatcher: zi,
|
|
@@ -21260,7 +21260,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21260
21260
|
LinearInterpolant: qm,
|
|
21261
21261
|
LinearMipMapLinearFilter: B2,
|
|
21262
21262
|
LinearMipMapNearestFilter: r2,
|
|
21263
|
-
LinearMipmapLinearFilter:
|
|
21263
|
+
LinearMipmapLinearFilter: No,
|
|
21264
21264
|
LinearMipmapNearestFilter: gl,
|
|
21265
21265
|
LinearSRGBColorSpace: ui,
|
|
21266
21266
|
LinearToneMapping: Qh,
|
|
@@ -21303,7 +21303,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21303
21303
|
NeverCompare: zv,
|
|
21304
21304
|
NeverDepth: XG,
|
|
21305
21305
|
NeverStencilFunc: Bk,
|
|
21306
|
-
NoBlending:
|
|
21306
|
+
NoBlending: Xt,
|
|
21307
21307
|
NoColorSpace: uI,
|
|
21308
21308
|
NoToneMapping: AI,
|
|
21309
21309
|
NormalAnimationBlendMode: _f,
|
|
@@ -21327,7 +21327,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21327
21327
|
PMREMGenerator: Ek,
|
|
21328
21328
|
Path: uh,
|
|
21329
21329
|
PerspectiveCamera: Ze,
|
|
21330
|
-
Plane:
|
|
21330
|
+
Plane: ko,
|
|
21331
21331
|
PlaneGeometry: pg,
|
|
21332
21332
|
PlaneHelper: IV,
|
|
21333
21333
|
PointLight: uD,
|
|
@@ -21385,7 +21385,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21385
21385
|
RedFormat: FC,
|
|
21386
21386
|
RedIntegerFormat: gm,
|
|
21387
21387
|
ReinhardToneMapping: $G,
|
|
21388
|
-
RepeatWrapping:
|
|
21388
|
+
RepeatWrapping: Fo,
|
|
21389
21389
|
ReplaceStencilOp: vv,
|
|
21390
21390
|
ReverseSubtractEquation: Ev,
|
|
21391
21391
|
RingGeometry: rl,
|
|
@@ -21407,7 +21407,7 @@ const CV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21407
21407
|
SkinnedMesh: Lr,
|
|
21408
21408
|
Source: NC,
|
|
21409
21409
|
Sphere: gI,
|
|
21410
|
-
SphereGeometry:
|
|
21410
|
+
SphereGeometry: Jo,
|
|
21411
21411
|
Spherical: fk,
|
|
21412
21412
|
SphericalHarmonics3: jB,
|
|
21413
21413
|
SplineCurve: Mm,
|
|
@@ -22081,7 +22081,7 @@ function FV(i, A) {
|
|
|
22081
22081
|
while (!e && (i = Object.getPrototypeOf(i)));
|
|
22082
22082
|
return e;
|
|
22083
22083
|
}
|
|
22084
|
-
const
|
|
22084
|
+
const so = sA("debuginput");
|
|
22085
22085
|
class AS {
|
|
22086
22086
|
constructor(A) {
|
|
22087
22087
|
r(this, "key");
|
|
@@ -22167,7 +22167,7 @@ class KV extends EventTarget {
|
|
|
22167
22167
|
if (!(e.changedTouches.length <= 0) && this.canReceiveInput(e) !== !1)
|
|
22168
22168
|
for (let t = 0; t < e.changedTouches.length; t++) {
|
|
22169
22169
|
const g = e.changedTouches[t], I = this.getPointerIndex(g.identifier);
|
|
22170
|
-
|
|
22170
|
+
so && Yi(`touch start #${I}, identifier:${g.identifier}`);
|
|
22171
22171
|
const o = { button: I, clientX: g.clientX, clientY: g.clientY, pointerType: "touch", source: e };
|
|
22172
22172
|
this.onDown(o);
|
|
22173
22173
|
}
|
|
@@ -22185,7 +22185,7 @@ class KV extends EventTarget {
|
|
|
22185
22185
|
const g = e.changedTouches[t], I = this.getPointerIndex(g.identifier);
|
|
22186
22186
|
if (!this.isNewEvent(e.timeStamp, I, this._pointerUpTimestamp))
|
|
22187
22187
|
continue;
|
|
22188
|
-
|
|
22188
|
+
so && Yi(`touch up #${I}, identifier:${g.identifier}`);
|
|
22189
22189
|
const o = { button: I, clientX: g.clientX, clientY: g.clientY, pointerType: "touch", source: e };
|
|
22190
22190
|
this.onUp(o);
|
|
22191
22191
|
}
|
|
@@ -22423,13 +22423,13 @@ class KV extends EventTarget {
|
|
|
22423
22423
|
return null;
|
|
22424
22424
|
}
|
|
22425
22425
|
createPointerDown(e) {
|
|
22426
|
-
|
|
22426
|
+
so && Yi("Create Pointer down"), this.onDown(e);
|
|
22427
22427
|
}
|
|
22428
22428
|
createPointerMove(e) {
|
|
22429
|
-
|
|
22429
|
+
so && Yi("Create Pointer move"), this.onMove(e);
|
|
22430
22430
|
}
|
|
22431
22431
|
createPointerUp(e) {
|
|
22432
|
-
|
|
22432
|
+
so && Yi("Create Pointer up"), this.onUp(e);
|
|
22433
22433
|
}
|
|
22434
22434
|
convertScreenspaceToRaycastSpace(e) {
|
|
22435
22435
|
e.x = (e.x - this.context.domX) / this.context.domWidth * 2 - 1, e.y = -((e.y - this.context.domY) / this.context.domHeight) * 2 + 1;
|
|
@@ -22451,17 +22451,17 @@ class KV extends EventTarget {
|
|
|
22451
22451
|
if (this.context.isInXR)
|
|
22452
22452
|
return !0;
|
|
22453
22453
|
const t = this.context.domElement.getBoundingClientRect(), g = e.clientX, I = e.clientY, o = g >= t.x && g <= t.right && I >= t.y && I <= t.bottom;
|
|
22454
|
-
return
|
|
22454
|
+
return so && !o && console.log("Not in rect", t, g, I), o;
|
|
22455
22455
|
}
|
|
22456
22456
|
onDown(e) {
|
|
22457
22457
|
var t;
|
|
22458
|
-
if (
|
|
22458
|
+
if (so && console.log(e.pointerType, "DOWN", e.button), !!this.isInRect(e)) {
|
|
22459
22459
|
if (e.pointerType === "mouse") {
|
|
22460
22460
|
const g = this._pointerUpTimestamp[e.button];
|
|
22461
22461
|
if (g > 0 && ((t = e.source) == null ? void 0 : t.timeStamp) !== void 0) {
|
|
22462
22462
|
const I = e.source.timeStamp - g;
|
|
22463
22463
|
if (I < 60 && I >= 0) {
|
|
22464
|
-
|
|
22464
|
+
so && console.log("Ignoring mouse.down for touch.up");
|
|
22465
22465
|
return;
|
|
22466
22466
|
}
|
|
22467
22467
|
}
|
|
@@ -22478,18 +22478,18 @@ class KV extends EventTarget {
|
|
|
22478
22478
|
// moveEvent?: Event;
|
|
22479
22479
|
onMove(e) {
|
|
22480
22480
|
const t = this.getPointerPressed(e.button);
|
|
22481
|
-
t === !1 && !this.isInRect(e) || e.pointerType === "touch" && !t || (
|
|
22481
|
+
t === !1 && !this.isInRect(e) || e.pointerType === "touch" && !t || (so && console.log(e.pointerType, "MOVE", e.button), this.updatePointerPosition(e), this.setPointerStateT(e.button, this._pointerEvent, e.source), this.onDispatchEvent("pointermove", e));
|
|
22482
22482
|
}
|
|
22483
22483
|
onUp(e) {
|
|
22484
22484
|
var o;
|
|
22485
22485
|
if (((o = this._pointerIds) == null ? void 0 : o.length) >= e.button && (this._pointerIds[e.button] = -1), !this._pointerPressed[e.button]) {
|
|
22486
|
-
|
|
22486
|
+
so && console.log(e.pointerType, "UP", e.button, "was not down");
|
|
22487
22487
|
return;
|
|
22488
22488
|
}
|
|
22489
|
-
for (
|
|
22489
|
+
for (so && console.log(e.pointerType, "UP", e.button), this.setPointerState(e.button, this._pointerPressed, !1), this.setPointerStateT(e.button, this._pointerEvent, e.source), this.setPointerState(e.button, this._pointerUp, !0); e.button >= this._pointerUsed.length; )
|
|
22490
22490
|
this._pointerUsed.push(!1);
|
|
22491
22491
|
if (this.setPointerState(e.button, this._pointerUsed, !1), this.updatePointerPosition(e), !this._pointerPositionDown[e.button]) {
|
|
22492
|
-
|
|
22492
|
+
so && kI("Received pointer up event without matching down event for button: " + e.button), console.warn("Received pointer up event without matching down event for button: " + e.button);
|
|
22493
22493
|
return;
|
|
22494
22494
|
}
|
|
22495
22495
|
const g = e.clientX - this._pointerPositionDown[e.button].x, I = e.clientY - this._pointerPositionDown[e.button].y;
|
|
@@ -30095,9 +30095,9 @@ function lK(i, A, e, t) {
|
|
|
30095
30095
|
return e.clone();
|
|
30096
30096
|
}
|
|
30097
30097
|
}
|
|
30098
|
-
const ux = sA("debugnewscripts"), Rz = sA("debughierarchy"),
|
|
30098
|
+
const ux = sA("debugnewscripts"), Rz = sA("debughierarchy"), jt = [];
|
|
30099
30099
|
function Uz() {
|
|
30100
|
-
return
|
|
30100
|
+
return jt.length > 0;
|
|
30101
30101
|
}
|
|
30102
30102
|
function Wp(i) {
|
|
30103
30103
|
if (!(i.new_scripts.length <= 0)) {
|
|
@@ -30106,25 +30106,25 @@ function Wp(i) {
|
|
|
30106
30106
|
A && A();
|
|
30107
30107
|
i.new_scripts_pre_setup_callbacks.length = 0;
|
|
30108
30108
|
}
|
|
30109
|
-
|
|
30110
|
-
for (let A = 0; A <
|
|
30109
|
+
jt.length = 0, i.new_scripts.length > 0 && jt.push(...i.new_scripts), i.new_scripts.length = 0;
|
|
30110
|
+
for (let A = 0; A < jt.length; A++)
|
|
30111
30111
|
try {
|
|
30112
|
-
const e =
|
|
30112
|
+
const e = jt[A];
|
|
30113
30113
|
if (e.destroyed)
|
|
30114
30114
|
continue;
|
|
30115
30115
|
if (!e.gameObject) {
|
|
30116
|
-
console.error("MISSING GAMEOBJECT - will ignore", e),
|
|
30116
|
+
console.error("MISSING GAMEOBJECT - will ignore", e), jt.splice(A, 1), A--;
|
|
30117
30117
|
continue;
|
|
30118
30118
|
}
|
|
30119
30119
|
e.context = i, xc(e.gameObject), EM(e, i);
|
|
30120
30120
|
} catch (e) {
|
|
30121
|
-
console.error(e), RC(
|
|
30121
|
+
console.error(e), RC(jt[A], i), jt.splice(A, 1), A--;
|
|
30122
30122
|
}
|
|
30123
|
-
for (let A = 0; A <
|
|
30123
|
+
for (let A = 0; A < jt.length; A++)
|
|
30124
30124
|
try {
|
|
30125
|
-
const e =
|
|
30125
|
+
const e = jt[A];
|
|
30126
30126
|
if (e.destroyed) {
|
|
30127
|
-
RC(
|
|
30127
|
+
RC(jt[A], i), jt.splice(A, 1), A--;
|
|
30128
30128
|
continue;
|
|
30129
30129
|
}
|
|
30130
30130
|
if (e.registering)
|
|
@@ -30135,27 +30135,27 @@ function Wp(i) {
|
|
|
30135
30135
|
}
|
|
30136
30136
|
e.__internalAwake !== void 0 && (e.gameObject || console.error("MISSING GAMEOBJECT", e, e.gameObject), xc(e.gameObject), e.activeAndEnabled && sQ(e.__internalAwake.bind(e)));
|
|
30137
30137
|
} catch (e) {
|
|
30138
|
-
console.error(e), RC(
|
|
30138
|
+
console.error(e), RC(jt[A], i), jt.splice(A, 1), A--;
|
|
30139
30139
|
}
|
|
30140
|
-
for (let A = 0; A <
|
|
30140
|
+
for (let A = 0; A < jt.length; A++)
|
|
30141
30141
|
try {
|
|
30142
|
-
const e =
|
|
30142
|
+
const e = jt[A];
|
|
30143
30143
|
if (e.destroyed || e.enabled === !1 || (xc(e.gameObject), e.activeAndEnabled === !1))
|
|
30144
30144
|
continue;
|
|
30145
30145
|
e.__internalEnable !== void 0 && (e.enabled = !0, sQ(e.__internalEnable.bind(e)));
|
|
30146
30146
|
} catch (e) {
|
|
30147
|
-
console.error(e), RC(
|
|
30147
|
+
console.error(e), RC(jt[A], i), jt.splice(A, 1), A--;
|
|
30148
30148
|
}
|
|
30149
|
-
for (let A = 0; A <
|
|
30149
|
+
for (let A = 0; A < jt.length; A++)
|
|
30150
30150
|
try {
|
|
30151
|
-
const e =
|
|
30151
|
+
const e = jt[A];
|
|
30152
30152
|
if (e.destroyed || !e.gameObject)
|
|
30153
30153
|
continue;
|
|
30154
30154
|
i.new_script_start.push(e);
|
|
30155
30155
|
} catch (e) {
|
|
30156
|
-
console.error(e), RC(
|
|
30156
|
+
console.error(e), RC(jt[A], i), jt.splice(A, 1), A--;
|
|
30157
30157
|
}
|
|
30158
|
-
|
|
30158
|
+
jt.length = 0;
|
|
30159
30159
|
for (const A of i.new_scripts_post_setup_callbacks)
|
|
30160
30160
|
A && A();
|
|
30161
30161
|
i.new_scripts_post_setup_callbacks.length = 0;
|
|
@@ -30315,7 +30315,7 @@ vec4 maxValue=texture2D(inputBuffer,vUv);for(int i=0;i<8;++i){vec4 kernel=kernel
|
|
|
30315
30315
|
kernel16: new kA(null),
|
|
30316
30316
|
scale: new kA(1)
|
|
30317
30317
|
},
|
|
30318
|
-
blending:
|
|
30318
|
+
blending: Xt,
|
|
30319
30319
|
toneMapped: !1,
|
|
30320
30320
|
depthWrite: !1,
|
|
30321
30321
|
depthTest: !1,
|
|
@@ -30564,7 +30564,7 @@ float signedDistance=linearDepth-focusDistance;float magnitude=smoothstep(0.0,fo
|
|
|
30564
30564
|
cameraNear: new kA(0.3),
|
|
30565
30565
|
cameraFar: new kA(1e3)
|
|
30566
30566
|
},
|
|
30567
|
-
blending:
|
|
30567
|
+
blending: Xt,
|
|
30568
30568
|
toneMapped: !1,
|
|
30569
30569
|
depthWrite: !1,
|
|
30570
30570
|
depthTest: !1,
|
|
@@ -30755,7 +30755,7 @@ varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;void mai
|
|
|
30755
30755
|
scale: new kA(1),
|
|
30756
30756
|
kernel: new kA(0)
|
|
30757
30757
|
},
|
|
30758
|
-
blending:
|
|
30758
|
+
blending: Xt,
|
|
30759
30759
|
toneMapped: !1,
|
|
30760
30760
|
depthWrite: !1,
|
|
30761
30761
|
depthTest: !1,
|
|
@@ -30887,7 +30887,7 @@ uniform float opacity;varying vec2 vUv;void main(){vec4 texel=texture2D(inputBuf
|
|
|
30887
30887
|
inputBuffer: new kA(null),
|
|
30888
30888
|
opacity: new kA(1)
|
|
30889
30889
|
},
|
|
30890
|
-
blending:
|
|
30890
|
+
blending: Xt,
|
|
30891
30891
|
toneMapped: !1,
|
|
30892
30892
|
depthWrite: !1,
|
|
30893
30893
|
depthTest: !1,
|
|
@@ -30966,7 +30966,7 @@ gl_FragColor=vec4(n[index],d[index]);}`, Pz = "uniform vec2 texelSize;varying ve
|
|
|
30966
30966
|
normalBuffer: new kA(null),
|
|
30967
30967
|
texelSize: new kA(new tA())
|
|
30968
30968
|
},
|
|
30969
|
-
blending:
|
|
30969
|
+
blending: Xt,
|
|
30970
30970
|
toneMapped: !1,
|
|
30971
30971
|
depthWrite: !1,
|
|
30972
30972
|
depthTest: !1,
|
|
@@ -31096,7 +31096,7 @@ if(keep){gl_FragColor=texture2D(inputBuffer,vUv);}else{discard;}}`, zz = class e
|
|
|
31096
31096
|
depthBuffer1: new kA(null),
|
|
31097
31097
|
cameraNearFar: new kA(new tA(1, 1))
|
|
31098
31098
|
},
|
|
31099
|
-
blending:
|
|
31099
|
+
blending: Xt,
|
|
31100
31100
|
toneMapped: !1,
|
|
31101
31101
|
depthWrite: !1,
|
|
31102
31102
|
depthTest: !1,
|
|
@@ -31321,7 +31321,7 @@ varying vec2 vUv;varying vec2 vUv00;varying vec2 vUv01;varying vec2 vUv02;varyin
|
|
|
31321
31321
|
inputBuffer: new kA(null),
|
|
31322
31322
|
texelSize: new kA(new tA())
|
|
31323
31323
|
},
|
|
31324
|
-
blending:
|
|
31324
|
+
blending: Xt,
|
|
31325
31325
|
toneMapped: !1,
|
|
31326
31326
|
depthWrite: !1,
|
|
31327
31327
|
depthTest: !1,
|
|
@@ -31429,7 +31429,7 @@ gl_Position=vec4(position.xy,1.0,1.0);}`, ej = class extends be {
|
|
|
31429
31429
|
predicationBuffer: new kA(null),
|
|
31430
31430
|
texelSize: new kA(i)
|
|
31431
31431
|
},
|
|
31432
|
-
blending:
|
|
31432
|
+
blending: Xt,
|
|
31433
31433
|
toneMapped: !1,
|
|
31434
31434
|
depthWrite: !1,
|
|
31435
31435
|
depthTest: !1,
|
|
@@ -31780,7 +31780,7 @@ return orthographicDepthToViewZ(depth,cameraNear,cameraFar);
|
|
|
31780
31780
|
aspect: new kA(1),
|
|
31781
31781
|
time: new kA(0)
|
|
31782
31782
|
},
|
|
31783
|
-
blending:
|
|
31783
|
+
blending: Xt,
|
|
31784
31784
|
toneMapped: !1,
|
|
31785
31785
|
depthWrite: !1,
|
|
31786
31786
|
depthTest: !1,
|
|
@@ -32021,7 +32021,7 @@ gl_FragColor=vec4(l);
|
|
|
32021
32021
|
smoothing: new kA(1),
|
|
32022
32022
|
range: new kA(null)
|
|
32023
32023
|
},
|
|
32024
|
-
blending:
|
|
32024
|
+
blending: Xt,
|
|
32025
32025
|
toneMapped: !1,
|
|
32026
32026
|
depthWrite: !1,
|
|
32027
32027
|
depthTest: !1,
|
|
@@ -32239,7 +32239,7 @@ gl_FragColor=mask*texture2D(inputBuffer,vUv);
|
|
|
32239
32239
|
inputBuffer: new kA(null),
|
|
32240
32240
|
strength: new kA(1)
|
|
32241
32241
|
},
|
|
32242
|
-
blending:
|
|
32242
|
+
blending: Xt,
|
|
32243
32243
|
toneMapped: !1,
|
|
32244
32244
|
depthWrite: !1,
|
|
32245
32245
|
depthTest: !1,
|
|
@@ -32435,7 +32435,7 @@ vec2 d;vec3 coords;coords.x=searchXLeft(vOffset[0].xy,vOffset[2].x);coords.y=vOf
|
|
|
32435
32435
|
resolution: new kA(A),
|
|
32436
32436
|
texelSize: new kA(i)
|
|
32437
32437
|
},
|
|
32438
|
-
blending:
|
|
32438
|
+
blending: Xt,
|
|
32439
32439
|
toneMapped: !1,
|
|
32440
32440
|
depthWrite: !1,
|
|
32441
32441
|
depthTest: !1,
|
|
@@ -32720,7 +32720,7 @@ ao=clamp(1.0-pow(1.0-ao,abs(intensity)),0.0,1.0);
|
|
|
32720
32720
|
fade: new kA(0.01),
|
|
32721
32721
|
bias: new kA(0)
|
|
32722
32722
|
},
|
|
32723
|
-
blending:
|
|
32723
|
+
blending: Xt,
|
|
32724
32724
|
toneMapped: !1,
|
|
32725
32725
|
depthWrite: !1,
|
|
32726
32726
|
depthTest: !1,
|
|
@@ -33338,7 +33338,7 @@ uniform float radius;varying vec2 vUv;varying vec2 vUv0;varying vec2 vUv1;varyin
|
|
|
33338
33338
|
texelSize: new kA(new tA()),
|
|
33339
33339
|
radius: new kA(0.85)
|
|
33340
33340
|
},
|
|
33341
|
-
blending:
|
|
33341
|
+
blending: Xt,
|
|
33342
33342
|
toneMapped: !1,
|
|
33343
33343
|
depthWrite: !1,
|
|
33344
33344
|
depthTest: !1,
|
|
@@ -36836,7 +36836,7 @@ function pZ(i, A, e) {
|
|
|
36836
36836
|
}
|
|
36837
36837
|
return g;
|
|
36838
36838
|
}
|
|
36839
|
-
var fZ = class extends
|
|
36839
|
+
var fZ = class extends Uo {
|
|
36840
36840
|
/**
|
|
36841
36841
|
* Constructs a new noise texture.
|
|
36842
36842
|
*
|
|
@@ -37445,7 +37445,7 @@ outputColor=vec4(vec3(1.0-ao),inputColor.a);
|
|
|
37445
37445
|
const J = this.resolution = new pt(this, S, m, G);
|
|
37446
37446
|
J.addEventListener("change", (_) => this.setSize(J.baseWidth, J.baseHeight)), this.camera = i, this.depthDownsamplingPass = new hM({ normalBuffer: A, resolutionScale: G }), this.depthDownsamplingPass.enabled = I === null, this.ssaoPass = new Ss(new Ej(i));
|
|
37447
37447
|
const Z = new fZ(kK, kK, Ut);
|
|
37448
|
-
Z.wrapS = Z.wrapT =
|
|
37448
|
+
Z.wrapS = Z.wrapT = Fo;
|
|
37449
37449
|
const H = this.ssaoMaterial;
|
|
37450
37450
|
H.normalBuffer = A, H.noiseTexture = Z, H.minRadiusScale = l, H.samples = t, H.radius = h, H.rings = g, H.fade = f, H.bias = u, H.distanceThreshold = B, H.distanceFalloff = Q, H.proximityThreshold = E, H.proximityFalloff = c, s !== void 0 && (H.worldDistanceThreshold = s), C !== void 0 && (H.worldDistanceFalloff = C), n !== void 0 && (H.worldProximityThreshold = n), a !== void 0 && (H.worldProximityFalloff = a), I !== null && (this.ssaoMaterial.normalDepthBuffer = I, this.defines.set("NORMAL_DEPTH", "1")), this.depthAwareUpsampling = o, this.color = k;
|
|
37451
37451
|
}
|
|
@@ -38131,14 +38131,14 @@ ll[0] = 255;
|
|
|
38131
38131
|
ll[1] = 255;
|
|
38132
38132
|
ll[2] = 255;
|
|
38133
38133
|
ll[3] = 255;
|
|
38134
|
-
const KZ = new
|
|
38134
|
+
const KZ = new Uo(ll, 1, 1, Ut);
|
|
38135
38135
|
function Tx(i, A = 1) {
|
|
38136
38136
|
const e = "alpha" in i, t = A * A, g = new Uint8Array(4 * t), I = Math.floor(i.r * 255), o = Math.floor(i.g * 255), s = Math.floor(i.b * 255);
|
|
38137
38137
|
for (let n = 0; n < t; n++) {
|
|
38138
38138
|
const a = n * 4;
|
|
38139
38139
|
g[a + 0] = I, g[a + 1] = o, g[a + 2] = s, e ? g[a + 3] = Math.floor(i.alpha * 255) : g[a + 3] = 255;
|
|
38140
38140
|
}
|
|
38141
|
-
const C = new
|
|
38141
|
+
const C = new Uo(g, A, A);
|
|
38142
38142
|
return C.needsUpdate = !0, C;
|
|
38143
38143
|
}
|
|
38144
38144
|
function JZ(i, A, e, t = 1, g = 3) {
|
|
@@ -38152,7 +38152,7 @@ function JZ(i, A, e, t = 1, g = 3) {
|
|
|
38152
38152
|
n[G + 0] = p, n[G + 1] = u, n[G + 2] = f, n[G + 3] = 255;
|
|
38153
38153
|
}
|
|
38154
38154
|
}
|
|
38155
|
-
const B = new
|
|
38155
|
+
const B = new Uo(n, t, g);
|
|
38156
38156
|
return B.needsUpdate = !0, B;
|
|
38157
38157
|
}
|
|
38158
38158
|
function Vp(i, A) {
|
|
@@ -38674,7 +38674,7 @@ class zZ extends da {
|
|
|
38674
38674
|
}
|
|
38675
38675
|
}
|
|
38676
38676
|
new zZ();
|
|
38677
|
-
const
|
|
38677
|
+
const Qo = sA("debugenvlight");
|
|
38678
38678
|
var _c = /* @__PURE__ */ ((i) => (i[i.Skybox = 0] = "Skybox", i[i.Trilight = 1] = "Trilight", i[i.Flat = 3] = "Flat", i[i.Custom = 4] = "Custom", i))(_c || {}), zk = /* @__PURE__ */ ((i) => (i[i.Skybox = 0] = "Skybox", i[i.Custom = 1] = "Custom", i))(zk || {});
|
|
38679
38679
|
class jZ {
|
|
38680
38680
|
constructor(A) {
|
|
@@ -38717,7 +38717,7 @@ class jZ {
|
|
|
38717
38717
|
var t;
|
|
38718
38718
|
A instanceof Ig && (A = A.uri);
|
|
38719
38719
|
const e = (t = this._sceneLightSettings) == null ? void 0 : t.get(A);
|
|
38720
|
-
return e ? (
|
|
38720
|
+
return e ? (Qo && console.log("Enable scene light settings", A, e), A !== this._currentLightSettingsId && this._currentLightSettingsId && this.disable(this._currentLightSettingsId), this._currentLightSettingsId = A, e.enabled = !0, !0) : !1;
|
|
38721
38721
|
}
|
|
38722
38722
|
/** disable the lighting of a specific scene, will only have any effect if it is currently active */
|
|
38723
38723
|
disable(A) {
|
|
@@ -38725,7 +38725,7 @@ class jZ {
|
|
|
38725
38725
|
if (A instanceof Ig && (A = A.uri), A == null)
|
|
38726
38726
|
return !1;
|
|
38727
38727
|
const e = (t = this._sceneLightSettings) == null ? void 0 : t.get(A);
|
|
38728
|
-
return e ? (
|
|
38728
|
+
return e ? (Qo && console.log("Disable scene light settings", A, e), e.enabled = !1, !0) : !1;
|
|
38729
38729
|
}
|
|
38730
38730
|
/** Disables the currently active scene lighting (if any), returns the id of the previously active lighting */
|
|
38731
38731
|
disableCurrent() {
|
|
@@ -38742,7 +38742,7 @@ class jZ {
|
|
|
38742
38742
|
console.error("Missing source id for scene light settings, can not register:", A);
|
|
38743
38743
|
return;
|
|
38744
38744
|
}
|
|
38745
|
-
|
|
38745
|
+
Qo && console.log("Register " + (A == null ? void 0 : A.sourceId) + " lighting", A), this._sceneLightSettings || (this._sceneLightSettings = /* @__PURE__ */ new Map()), this._sceneLightSettings.set(e, A);
|
|
38746
38746
|
}
|
|
38747
38747
|
/** @internal */
|
|
38748
38748
|
internalUnregisterSceneLightSettings(A) {
|
|
@@ -38751,11 +38751,11 @@ class jZ {
|
|
|
38751
38751
|
console.error("Missing source id for scene light settings, can not unregister:", A);
|
|
38752
38752
|
return;
|
|
38753
38753
|
}
|
|
38754
|
-
|
|
38754
|
+
Qo && console.log("Unregister " + (A == null ? void 0 : A.sourceId) + " lighting", A), this._sceneLightSettings && this._sceneLightSettings.delete(e);
|
|
38755
38755
|
}
|
|
38756
38756
|
/** @internal */
|
|
38757
38757
|
internalRegisterReflection(A, e) {
|
|
38758
|
-
|
|
38758
|
+
Qo && console.log("Register reflection", A, e);
|
|
38759
38759
|
const t = new ZZ(this.context, e, 1);
|
|
38760
38760
|
this._lighting[A] = t;
|
|
38761
38761
|
}
|
|
@@ -38768,17 +38768,17 @@ class jZ {
|
|
|
38768
38768
|
var t;
|
|
38769
38769
|
this.__currentReflectionId = A;
|
|
38770
38770
|
const e = (t = this._sceneLightSettings) == null ? void 0 : t.get(A);
|
|
38771
|
-
switch (
|
|
38771
|
+
switch (Qo && console.log("Enable reflection", A, e ? _c[e.ambientMode] : "Unknown ambient mode"), e == null ? void 0 : e.ambientMode) {
|
|
38772
38772
|
case 0:
|
|
38773
38773
|
case 4:
|
|
38774
38774
|
const g = this.internalGetReflection(A);
|
|
38775
38775
|
if (g && g.Source) {
|
|
38776
|
-
|
|
38776
|
+
Qo && console.log("Setting environment reflection", g);
|
|
38777
38777
|
const I = this.context.scene, o = g.Source;
|
|
38778
|
-
o.colorSpace = Ae, o.mapping =
|
|
38778
|
+
o.colorSpace = Ae, o.mapping = Ro, I.environment = o;
|
|
38779
38779
|
return;
|
|
38780
38780
|
} else
|
|
38781
|
-
|
|
38781
|
+
Qo && console.warn("Could not find reflection for source", A);
|
|
38782
38782
|
break;
|
|
38783
38783
|
}
|
|
38784
38784
|
if ((e == null ? void 0 : e.environmentReflectionSource) === 1)
|
|
@@ -38786,14 +38786,14 @@ class jZ {
|
|
|
38786
38786
|
case 1:
|
|
38787
38787
|
if (e.ambientTrilight) {
|
|
38788
38788
|
const g = e.ambientTrilight, I = JZ(g[0], g[1], g[2], 64, 64);
|
|
38789
|
-
I.colorSpace = Ae, I.mapping =
|
|
38789
|
+
I.colorSpace = Ae, I.mapping = Ro, this.context.scene.environment = I;
|
|
38790
38790
|
} else
|
|
38791
38791
|
console.error("Missing ambient trilight", e.sourceId);
|
|
38792
38792
|
return;
|
|
38793
38793
|
case 3:
|
|
38794
38794
|
if (e.ambientLight) {
|
|
38795
38795
|
const g = Tx(e.ambientLight, 64);
|
|
38796
|
-
g.colorSpace = Ae, g.mapping =
|
|
38796
|
+
g.colorSpace = Ae, g.mapping = Ro, this.context.scene.environment = g;
|
|
38797
38797
|
} else
|
|
38798
38798
|
console.error("Missing ambientlight", e.sourceId);
|
|
38799
38799
|
return;
|
|
@@ -38804,16 +38804,16 @@ class jZ {
|
|
|
38804
38804
|
/** @internal */
|
|
38805
38805
|
internalDisableReflection(A) {
|
|
38806
38806
|
if (A && A !== this.__currentReflectionId) {
|
|
38807
|
-
|
|
38807
|
+
Qo && console.log("Not disabling reflection for", A, "because it is not the current light settings id", this.__currentReflectionId);
|
|
38808
38808
|
return;
|
|
38809
38809
|
}
|
|
38810
|
-
|
|
38810
|
+
Qo && console.log("Disable reflection", A);
|
|
38811
38811
|
const e = this.context.scene;
|
|
38812
38812
|
e.environment = null;
|
|
38813
38813
|
}
|
|
38814
38814
|
/** @internal */
|
|
38815
38815
|
async internalGetSceneLightingData(A) {
|
|
38816
|
-
return
|
|
38816
|
+
return Qo && console.log("GET SCENE LIGHT DATA", A), this._waitPromise ? this._waitPromise : (this._waitPromise = new Promise((e, t) => {
|
|
38817
38817
|
const g = setInterval(async () => {
|
|
38818
38818
|
const I = this.internalGetReflection(A);
|
|
38819
38819
|
I && (clearInterval(g), e(I.getSphericalHarmonicsArray(this.environmentIntensity ?? 1)));
|
|
@@ -38829,7 +38829,7 @@ class ZZ {
|
|
|
38829
38829
|
r(this, "_sphericalHarmonicsArray");
|
|
38830
38830
|
r(this, "_ambientScale", 1);
|
|
38831
38831
|
r(this, "_lightProbe");
|
|
38832
|
-
this._context = A, this._source = e, this._ambientScale = t, e.mapping =
|
|
38832
|
+
this._context = A, this._source = e, this._ambientScale = t, e.mapping = Ro, e.colorSpace = Ae;
|
|
38833
38833
|
}
|
|
38834
38834
|
get Source() {
|
|
38835
38835
|
return this._source;
|
|
@@ -38845,7 +38845,7 @@ class ZZ {
|
|
|
38845
38845
|
const t = this._source;
|
|
38846
38846
|
let g = null;
|
|
38847
38847
|
if (t) {
|
|
38848
|
-
|
|
38848
|
+
Qo && console.log("GENERATING LIGHT PROBE", t, this.Source);
|
|
38849
38849
|
const I = Math.min(t.image.width, 512);
|
|
38850
38850
|
g = new zf(I).fromEquirectangularTexture(this._context.renderer, t);
|
|
38851
38851
|
}
|
|
@@ -39732,18 +39732,18 @@ class jp extends vm {
|
|
|
39732
39732
|
let st = 0;
|
|
39733
39733
|
for (let Ve = 0; Ve < QA; ++Ve) {
|
|
39734
39734
|
const ht = N[F.idx[Ve]].type;
|
|
39735
|
-
for (let
|
|
39736
|
-
st = rt[Ve][
|
|
39735
|
+
for (let zt = 8 * $e; zt < 8 * $e + Kt; ++zt) {
|
|
39736
|
+
st = rt[Ve][zt];
|
|
39737
39737
|
for (let tC = 0; tC < yA; ++tC) {
|
|
39738
|
-
const
|
|
39739
|
-
CA.setUint16(st + 0 * 2 * ht, Nt[Ve][
|
|
39738
|
+
const Io = tC * 64 + (zt & 7) * 8;
|
|
39739
|
+
CA.setUint16(st + 0 * 2 * ht, Nt[Ve][Io + 0], !0), CA.setUint16(st + 1 * 2 * ht, Nt[Ve][Io + 1], !0), CA.setUint16(st + 2 * 2 * ht, Nt[Ve][Io + 2], !0), CA.setUint16(st + 3 * 2 * ht, Nt[Ve][Io + 3], !0), CA.setUint16(st + 4 * 2 * ht, Nt[Ve][Io + 4], !0), CA.setUint16(st + 5 * 2 * ht, Nt[Ve][Io + 5], !0), CA.setUint16(st + 6 * 2 * ht, Nt[Ve][Io + 6], !0), CA.setUint16(st + 7 * 2 * ht, Nt[Ve][Io + 7], !0), st += 8 * 2 * ht;
|
|
39740
39740
|
}
|
|
39741
39741
|
}
|
|
39742
39742
|
if (yA != qA)
|
|
39743
|
-
for (let
|
|
39744
|
-
const tC = rt[Ve][
|
|
39743
|
+
for (let zt = 8 * $e; zt < 8 * $e + Kt; ++zt) {
|
|
39744
|
+
const tC = rt[Ve][zt] + 8 * yA * 2 * ht, Io = yA * 64 + (zt & 7) * 8;
|
|
39745
39745
|
for (let Fa = 0; Fa < yg; ++Fa)
|
|
39746
|
-
CA.setUint16(tC + Fa * 2 * ht, Nt[Ve][
|
|
39746
|
+
CA.setUint16(tC + Fa * 2 * ht, Nt[Ve][Io + Fa], !0);
|
|
39747
39747
|
}
|
|
39748
39748
|
}
|
|
39749
39749
|
}
|
|
@@ -40063,7 +40063,7 @@ class jp extends vm {
|
|
|
40063
40063
|
const N = OA(F, w), b = OA(F, w), L = OA(F, w), O = OA(F, w);
|
|
40064
40064
|
return { xMin: N, yMin: b, xMax: L, yMax: O };
|
|
40065
40065
|
}
|
|
40066
|
-
function
|
|
40066
|
+
function io(F, w) {
|
|
40067
40067
|
const N = [
|
|
40068
40068
|
"INCREASING_Y"
|
|
40069
40069
|
], b = oe(F, w);
|
|
@@ -40073,7 +40073,7 @@ class jp extends vm {
|
|
|
40073
40073
|
const N = pe(F, w), b = pe(F, w);
|
|
40074
40074
|
return [N, b];
|
|
40075
40075
|
}
|
|
40076
|
-
function
|
|
40076
|
+
function go(F, w) {
|
|
40077
40077
|
const N = pe(F, w), b = pe(F, w), L = pe(F, w);
|
|
40078
40078
|
return [N, b, L];
|
|
40079
40079
|
}
|
|
@@ -40089,13 +40089,13 @@ class jp extends vm {
|
|
|
40089
40089
|
if (b === "box2i")
|
|
40090
40090
|
return fi(F, N);
|
|
40091
40091
|
if (b === "lineOrder")
|
|
40092
|
-
return
|
|
40092
|
+
return io(F, N);
|
|
40093
40093
|
if (b === "float")
|
|
40094
40094
|
return pe(F, N);
|
|
40095
40095
|
if (b === "v2f")
|
|
40096
40096
|
return xt(F, N);
|
|
40097
40097
|
if (b === "v3f")
|
|
40098
|
-
return
|
|
40098
|
+
return go(F, N);
|
|
40099
40099
|
if (b === "int")
|
|
40100
40100
|
return jA(F, N);
|
|
40101
40101
|
if (b === "rational")
|
|
@@ -42590,7 +42590,7 @@ class gs extends fg {
|
|
|
42590
42590
|
const Q = t[0].mipmaps;
|
|
42591
42591
|
B = e.layerCount > 1 ? new pb(Q, g, I, e.layerCount, o, ut) : new xC(Q, g, I, o, ut);
|
|
42592
42592
|
}
|
|
42593
|
-
return B.minFilter = t[0].mipmaps.length === 1 ? Le :
|
|
42593
|
+
return B.minFilter = t[0].mipmaps.length === 1 ? Le : No, B.magFilter = Le, B.generateMipmaps = !1, B.needsUpdate = !0, B.colorSpace = n === H5 ? Ae : uI, B.premultiplyAlpha = !!(a & Y5), B;
|
|
42594
42594
|
}
|
|
42595
42595
|
/**
|
|
42596
42596
|
* @param {ArrayBuffer} buffer
|
|
@@ -42862,7 +42862,7 @@ async function z5(i, A = 0) {
|
|
|
42862
42862
|
s.byteOffset,
|
|
42863
42863
|
s.byteLength / Uint16Array.BYTES_PER_ELEMENT
|
|
42864
42864
|
) : C = s;
|
|
42865
|
-
const n = I === 0 ? new
|
|
42865
|
+
const n = I === 0 ? new Uo(C, t, g) : new Wf(C, t, g, I);
|
|
42866
42866
|
return n.type = DS[e], n.format = PK[e], n.colorSpace = V5[e] || uI, n.needsUpdate = !0, Promise.resolve(n);
|
|
42867
42867
|
}
|
|
42868
42868
|
var j5 = function() {
|
|
@@ -43500,7 +43500,7 @@ class QX {
|
|
|
43500
43500
|
return null;
|
|
43501
43501
|
const g = e.meshes[t.mesh];
|
|
43502
43502
|
for (const n of g.primitives)
|
|
43503
|
-
if (n.mode !==
|
|
43503
|
+
if (n.mode !== po.TRIANGLES && n.mode !== po.TRIANGLE_STRIP && n.mode !== po.TRIANGLE_FAN && n.mode !== void 0)
|
|
43504
43504
|
return null;
|
|
43505
43505
|
const o = t.extensions[this.name].attributes, s = [], C = {};
|
|
43506
43506
|
for (const n in o)
|
|
@@ -43622,7 +43622,7 @@ class uX extends dT {
|
|
|
43622
43622
|
return dX.fromArray(I).normalize().toArray(I), I;
|
|
43623
43623
|
}
|
|
43624
43624
|
}
|
|
43625
|
-
const
|
|
43625
|
+
const po = {
|
|
43626
43626
|
FLOAT: 5126,
|
|
43627
43627
|
//FLOAT_MAT2: 35674,
|
|
43628
43628
|
FLOAT_MAT3: 35675,
|
|
@@ -43655,11 +43655,11 @@ const uo = {
|
|
|
43655
43655
|
9984: fQ,
|
|
43656
43656
|
9985: gl,
|
|
43657
43657
|
9986: ur,
|
|
43658
|
-
9987:
|
|
43658
|
+
9987: No
|
|
43659
43659
|
}, eJ = {
|
|
43660
43660
|
33071: ig,
|
|
43661
43661
|
33648: Gr,
|
|
43662
|
-
10497:
|
|
43662
|
+
10497: Fo
|
|
43663
43663
|
}, yS = {
|
|
43664
43664
|
SCALAR: 1,
|
|
43665
43665
|
VEC2: 2,
|
|
@@ -44060,7 +44060,7 @@ class GX {
|
|
|
44060
44060
|
const n = this.loadImageSource(e, t).then(function(a) {
|
|
44061
44061
|
a.flipY = !1, a.name = o.name || s.name || "", a.name === "" && typeof s.uri == "string" && s.uri.startsWith("data:image/") === !1 && (a.name = s.uri);
|
|
44062
44062
|
const Q = (I.samplers || {})[o.sampler] || {};
|
|
44063
|
-
return a.magFilter = AJ[Q.magFilter] || Le, a.minFilter = AJ[Q.minFilter] ||
|
|
44063
|
+
return a.magFilter = AJ[Q.magFilter] || Le, a.minFilter = AJ[Q.minFilter] || No, a.wrapS = eJ[Q.wrapS] || Fo, a.wrapT = eJ[Q.wrapT] || Fo, a.anisotropy = 4, g.associations.set(a, { textures: A }), a;
|
|
44064
44064
|
}).catch(function() {
|
|
44065
44065
|
return null;
|
|
44066
44066
|
});
|
|
@@ -44233,15 +44233,15 @@ class GX {
|
|
|
44233
44233
|
const l = a[E], d = o[E];
|
|
44234
44234
|
let h;
|
|
44235
44235
|
const p = n[E];
|
|
44236
|
-
if (d.mode ===
|
|
44237
|
-
h = I.isSkinnedMesh === !0 ? new Lr(l, p) : new wA(l, p), h.isSkinnedMesh === !0 && h.normalizeSkinWeights(), d.mode ===
|
|
44238
|
-
else if (d.mode ===
|
|
44236
|
+
if (d.mode === po.TRIANGLES || d.mode === po.TRIANGLE_STRIP || d.mode === po.TRIANGLE_FAN || d.mode === void 0)
|
|
44237
|
+
h = I.isSkinnedMesh === !0 ? new Lr(l, p) : new wA(l, p), h.isSkinnedMesh === !0 && h.normalizeSkinWeights(), d.mode === po.TRIANGLE_STRIP ? h.geometry = XK(h.geometry, am) : d.mode === po.TRIANGLE_FAN && (h.geometry = XK(h.geometry, Kp));
|
|
44238
|
+
else if (d.mode === po.LINES)
|
|
44239
44239
|
h = new zI(l, p);
|
|
44240
|
-
else if (d.mode ===
|
|
44240
|
+
else if (d.mode === po.LINE_STRIP)
|
|
44241
44241
|
h = new hi(l, p);
|
|
44242
|
-
else if (d.mode ===
|
|
44242
|
+
else if (d.mode === po.LINE_LOOP)
|
|
44243
44243
|
h = new wm(l, p);
|
|
44244
|
-
else if (d.mode ===
|
|
44244
|
+
else if (d.mode === po.POINTS)
|
|
44245
44245
|
h = new ym(l, p);
|
|
44246
44246
|
else
|
|
44247
44247
|
throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + d.mode);
|
|
@@ -44656,8 +44656,8 @@ const Tt = class extends cD {
|
|
|
44656
44656
|
this.uniformsNeedUpdate = !0;
|
|
44657
44657
|
}
|
|
44658
44658
|
};
|
|
44659
|
-
let
|
|
44660
|
-
r(
|
|
44659
|
+
let Eo = Tt;
|
|
44660
|
+
r(Eo, "viewProjection", new NA()), r(Eo, "_viewProjectionValues", []), r(Eo, "viewMatrix", new NA()), r(Eo, "_viewMatrixValues", []), r(Eo, "_worldSpaceCameraPosName", "_WorldSpaceCameraPos"), r(Eo, "_worldSpaceCameraPos", new y()), r(Eo, "_mainLightColor", new ge()), r(Eo, "_mainLightPosition", new y()), r(Eo, "_lightData", new ge());
|
|
44661
44661
|
class RX {
|
|
44662
44662
|
constructor(A, e) {
|
|
44663
44663
|
r(this, "parser");
|
|
@@ -44752,7 +44752,7 @@ class RX {
|
|
|
44752
44752
|
}
|
|
44753
44753
|
}
|
|
44754
44754
|
}
|
|
44755
|
-
const c = new
|
|
44755
|
+
const c = new Eo(
|
|
44756
44756
|
this.identifier,
|
|
44757
44757
|
{
|
|
44758
44758
|
name: e.name ?? "",
|
|
@@ -45431,10 +45431,10 @@ const Ih = class {
|
|
|
45431
45431
|
I && I.onEnd(A);
|
|
45432
45432
|
}
|
|
45433
45433
|
};
|
|
45434
|
-
let
|
|
45435
|
-
r(
|
|
45436
|
-
r(
|
|
45437
|
-
r(
|
|
45434
|
+
let yo = Ih;
|
|
45435
|
+
r(yo, "cache", /* @__PURE__ */ new Map()), r(yo, "resolved", {}), r(yo, "currentlyLoading", {}), /** event listeners per context */
|
|
45436
|
+
r(yo, "_progressiveEventListeners", /* @__PURE__ */ new Map()), //** loading info per context, contains an array of urls that are currently being loaded */
|
|
45437
|
+
r(yo, "_currentProgressiveLoadingInfo", /* @__PURE__ */ new Map());
|
|
45438
45438
|
class TX {
|
|
45439
45439
|
// TODO: can contain information if the event is a background process / preloading or if the object is currently visible
|
|
45440
45440
|
constructor(A, e, t, g, I) {
|
|
@@ -45483,7 +45483,7 @@ class _X {
|
|
|
45483
45483
|
}
|
|
45484
45484
|
async function OX(i, A, e) {
|
|
45485
45485
|
const t = e.lastIndexOf("?");
|
|
45486
|
-
t >= 0 && (e = e.substring(0, t)), i.register((g) => new JX(g)), i.register((g) => new wV(g)), i.register((g) => new h5(g, A.lightmaps, e)), i.register((g) => new qX(g, e, A)), i.register((g) => new RX(g, e)), i.register((g) => new Pc(g, e)), i.register((g) => new
|
|
45486
|
+
t >= 0 && (e = e.substring(0, t)), i.register((g) => new JX(g)), i.register((g) => new wV(g)), i.register((g) => new h5(g, A.lightmaps, e)), i.register((g) => new qX(g, e, A)), i.register((g) => new RX(g, e)), i.register((g) => new Pc(g, e)), i.register((g) => new yo(g, e, A)), i.register((g) => new KX(g)), pz() && i.register((g) => new Lc(g));
|
|
45487
45487
|
for (const g of Rh)
|
|
45488
45488
|
i.register((I) => new g(I));
|
|
45489
45489
|
await HX.catch((g) => {
|
|
@@ -46013,7 +46013,7 @@ class zg {
|
|
|
46013
46013
|
}
|
|
46014
46014
|
static getSphere(A, e, t) {
|
|
46015
46015
|
let g = this.spheresCache.pop();
|
|
46016
|
-
return g || (g = new wA(new
|
|
46016
|
+
return g || (g = new wA(new Jo(1, 8, 8))), g.scale.set(A, A, A), g.material.wireframe = t, this.registerTimedObject(Te.Current, g, e, this.spheresCache), g;
|
|
46017
46017
|
}
|
|
46018
46018
|
static getArrowHead(A) {
|
|
46019
46019
|
let e = this.arrowHeadsCache.pop();
|
|
@@ -46038,7 +46038,7 @@ class zg {
|
|
|
46038
46038
|
}
|
|
46039
46039
|
}
|
|
46040
46040
|
r(zg, "linesCache", []), r(zg, "spheresCache", []), r(zg, "boxesCache", []), r(zg, "arrowHeadsCache", []), r(zg, "timedObjectsBuffer", new Array()), r(zg, "timesBuffer", new Array()), r(zg, "contextPostRenderCallbacks", /* @__PURE__ */ new Map());
|
|
46041
|
-
const t9 = sA("gizmos"), i9 = sA("debugboxhelper"),
|
|
46041
|
+
const t9 = sA("gizmos"), i9 = sA("debugboxhelper"), uo = class extends UA {
|
|
46042
46042
|
constructor() {
|
|
46043
46043
|
super(...arguments);
|
|
46044
46044
|
r(this, "box", null);
|
|
@@ -46051,18 +46051,18 @@ const t9 = sA("gizmos"), i9 = sA("debugboxhelper"), lo = class extends UA {
|
|
|
46051
46051
|
if (!e)
|
|
46052
46052
|
return;
|
|
46053
46053
|
if (this.box || (this.box = new Hi()), e.type === "Mesh")
|
|
46054
|
-
|
|
46054
|
+
uo.testBox.setFromObject(e);
|
|
46055
46055
|
else if (e.type === "Group") {
|
|
46056
|
-
if (
|
|
46056
|
+
if (uo.testBox.makeEmpty(), e.children.length > 0)
|
|
46057
46057
|
for (let o = 0; o < e.children.length; o++)
|
|
46058
|
-
e.children[o].type === "Mesh" &&
|
|
46058
|
+
e.children[o].type === "Mesh" && uo.testBox.expandByObject(e);
|
|
46059
46059
|
} else {
|
|
46060
|
-
const o = ke(e,
|
|
46061
|
-
t !== void 0 && s.multiplyScalar(t),
|
|
46060
|
+
const o = ke(e, uo._position), s = hg(e, uo._size);
|
|
46061
|
+
t !== void 0 && s.multiplyScalar(t), uo.testBox.setFromCenterAndSize(o, s);
|
|
46062
46062
|
}
|
|
46063
46063
|
this.updateBox();
|
|
46064
|
-
const g = (I = this.box) == null ? void 0 : I.intersectsBox(
|
|
46065
|
-
return g && i9 && Hn.DrawBox3(
|
|
46064
|
+
const g = (I = this.box) == null ? void 0 : I.intersectsBox(uo.testBox);
|
|
46065
|
+
return g && i9 && Hn.DrawBox3(uo.testBox, 16711680, 5), g;
|
|
46066
46066
|
}
|
|
46067
46067
|
intersects(e) {
|
|
46068
46068
|
return e ? this.updateBox(!1).intersectsBox(e) : !1;
|
|
@@ -46071,7 +46071,7 @@ const t9 = sA("gizmos"), i9 = sA("debugboxhelper"), lo = class extends UA {
|
|
|
46071
46071
|
if (this.box || (this.box = new Hi()), e || this.context.time.frameCount != this._lastMatrixUpdateFrame) {
|
|
46072
46072
|
const t = this._lastMatrixUpdateFrame < 0;
|
|
46073
46073
|
this._lastMatrixUpdateFrame = this.context.time.frameCount;
|
|
46074
|
-
const g = t, I = ke(this.gameObject,
|
|
46074
|
+
const g = t, I = ke(this.gameObject, uo._position, g), o = hg(this.gameObject, uo._size);
|
|
46075
46075
|
this.box.setFromCenterAndSize(I, o);
|
|
46076
46076
|
}
|
|
46077
46077
|
return this.box;
|
|
@@ -46090,7 +46090,7 @@ const t9 = sA("gizmos"), i9 = sA("debugboxhelper"), lo = class extends UA {
|
|
|
46090
46090
|
}
|
|
46091
46091
|
}
|
|
46092
46092
|
};
|
|
46093
|
-
let ts =
|
|
46093
|
+
let ts = uo;
|
|
46094
46094
|
r(ts, "testBox", new Hi()), r(ts, "_position", new y()), r(ts, "_size", new y(0.01, 0.01, 0.01));
|
|
46095
46095
|
var g9 = Object.defineProperty, I9 = Object.getOwnPropertyDescriptor, yT = (i, A, e, t) => {
|
|
46096
46096
|
for (var g = t > 1 ? void 0 : t ? I9(A, e) : A, I = i.length - 1, o; I >= 0; I--)
|
|
@@ -46130,7 +46130,7 @@ const hC = (Ku = class extends UA {
|
|
|
46130
46130
|
console.error("ReflectionProbe.texture must be a Texture", A);
|
|
46131
46131
|
return;
|
|
46132
46132
|
}
|
|
46133
|
-
this._texture = A, A && (A.mapping =
|
|
46133
|
+
this._texture = A, A && (A.mapping = Ro, A.colorSpace = Ae, A.needsUpdate = !0);
|
|
46134
46134
|
}
|
|
46135
46135
|
get texture() {
|
|
46136
46136
|
return this._texture;
|
|
@@ -46140,7 +46140,7 @@ const hC = (Ku = class extends UA {
|
|
|
46140
46140
|
return (t = this._boxHelper) == null ? void 0 : t.isInBox(A, e);
|
|
46141
46141
|
}
|
|
46142
46142
|
awake() {
|
|
46143
|
-
this._boxHelper = this.gameObject.addNewComponent(ts), this._boxHelper.updateBox(!0), PE && this._boxHelper.showHelper(5592320, !0), this.texture && (this.texture.mapping =
|
|
46143
|
+
this._boxHelper = this.gameObject.addNewComponent(ts), this._boxHelper.updateBox(!0), PE && this._boxHelper.showHelper(5592320, !0), this.texture && (this.texture.mapping = Ro, this.texture.colorSpace = Ae, this.texture.needsUpdate = !0);
|
|
46144
46144
|
}
|
|
46145
46145
|
onDestroy() {
|
|
46146
46146
|
const A = hC._probes.get(this.context);
|
|
@@ -46353,13 +46353,14 @@ const mT = class extends UA {
|
|
|
46353
46353
|
r(this, "handles");
|
|
46354
46354
|
r(this, "prevLayers");
|
|
46355
46355
|
r(this, "onBeforeRenderThree", (A, e, t, g, I, o) => {
|
|
46356
|
+
var s;
|
|
46356
46357
|
if (this.loadProgressiveTextures(I), I.envMapIntensity !== void 0) {
|
|
46357
|
-
const
|
|
46358
|
-
I.envMapIntensity = Math.max(0, this.context.sceneLighting.environmentIntensity /
|
|
46358
|
+
const C = this.hasLightmap ? Math.PI : 1, n = ((s = this.context.mainCameraComponent) == null ? void 0 : s.environmentIntensity) ?? 1;
|
|
46359
|
+
I.envMapIntensity = Math.max(0, n * this.context.sceneLighting.environmentIntensity / C);
|
|
46359
46360
|
}
|
|
46360
46361
|
if (this._lightmaps)
|
|
46361
|
-
for (const
|
|
46362
|
-
|
|
46362
|
+
for (const C of this._lightmaps)
|
|
46363
|
+
C.updateLightmapUniforms(I);
|
|
46363
46364
|
});
|
|
46364
46365
|
r(this, "_reflectionProbe", null);
|
|
46365
46366
|
}
|
|
@@ -46566,7 +46567,7 @@ const mT = class extends UA {
|
|
|
46566
46567
|
this.reflectionProbeUsage !== 0 && this._reflectionProbe && this._reflectionProbe.onUnset(this);
|
|
46567
46568
|
}
|
|
46568
46569
|
loadProgressiveTextures(A) {
|
|
46569
|
-
return !B9 && A && A._didRequestTextureLOD === void 0 && this.allowProgressiveLoading ? (A._didRequestTextureLOD = 0, r9 && console.log("Load material LOD", A.name),
|
|
46570
|
+
return !B9 && A && A._didRequestTextureLOD === void 0 && this.allowProgressiveLoading ? (A._didRequestTextureLOD = 0, r9 && console.log("Load material LOD", A.name), yo.assignTextureLOD(this.context, this.sourceId, A)) : Promise.resolve(!0);
|
|
46570
46571
|
}
|
|
46571
46572
|
applySettings(A) {
|
|
46572
46573
|
A.receiveShadow = this.receiveShadows, this.shadowCastingMode == 1 ? A.castShadow = !0 : A.castShadow = !1;
|
|
@@ -46596,35 +46597,35 @@ const mT = class extends UA {
|
|
|
46596
46597
|
return A.type === "Mesh" || A.type === "SkinnedMesh";
|
|
46597
46598
|
}
|
|
46598
46599
|
};
|
|
46599
|
-
let
|
|
46600
|
+
let $t = mT;
|
|
46600
46601
|
gn([
|
|
46601
46602
|
D()
|
|
46602
|
-
],
|
|
46603
|
+
], $t.prototype, "receiveShadows", 2);
|
|
46603
46604
|
gn([
|
|
46604
46605
|
D()
|
|
46605
|
-
],
|
|
46606
|
+
], $t.prototype, "shadowCastingMode", 2);
|
|
46606
46607
|
gn([
|
|
46607
46608
|
D()
|
|
46608
|
-
],
|
|
46609
|
+
], $t.prototype, "lightmapIndex", 2);
|
|
46609
46610
|
gn([
|
|
46610
46611
|
D(ge)
|
|
46611
|
-
],
|
|
46612
|
+
], $t.prototype, "lightmapScaleOffset", 2);
|
|
46612
46613
|
gn([
|
|
46613
46614
|
D()
|
|
46614
|
-
],
|
|
46615
|
+
], $t.prototype, "enableInstancing", 2);
|
|
46615
46616
|
gn([
|
|
46616
46617
|
D()
|
|
46617
|
-
],
|
|
46618
|
+
], $t.prototype, "renderOrder", 2);
|
|
46618
46619
|
gn([
|
|
46619
46620
|
D()
|
|
46620
|
-
],
|
|
46621
|
+
], $t.prototype, "allowOcclusionWhenDynamic", 2);
|
|
46621
46622
|
gn([
|
|
46622
46623
|
D(FA)
|
|
46623
|
-
],
|
|
46624
|
+
], $t.prototype, "probeAnchor", 2);
|
|
46624
46625
|
gn([
|
|
46625
46626
|
D()
|
|
46626
|
-
],
|
|
46627
|
-
class MM extends
|
|
46627
|
+
], $t.prototype, "reflectionProbeUsage", 2);
|
|
46628
|
+
class MM extends $t {
|
|
46628
46629
|
}
|
|
46629
46630
|
class MT extends MM {
|
|
46630
46631
|
awake() {
|
|
@@ -46984,7 +46985,7 @@ function UT(i, A, e) {
|
|
|
46984
46985
|
return;
|
|
46985
46986
|
let t, g, I;
|
|
46986
46987
|
i instanceof wA && (g = i.geometry, I = i.material);
|
|
46987
|
-
const o = oA.getComponent(i,
|
|
46988
|
+
const o = oA.getComponent(i, $t);
|
|
46988
46989
|
if (o && !o.enabled && (g = void 0, I = void 0), i instanceof wA && I && (I instanceof ss || I instanceof Et) && !(i instanceof Lr)) {
|
|
46989
46990
|
const s = gu(i);
|
|
46990
46991
|
t = new xI(i.uuid, s, i.matrix, g, I);
|
|
@@ -47486,8 +47487,8 @@ const Ff = class {
|
|
|
47486
47487
|
e.beginBlock(`def Preliminary_Action "${this.id}"`), this.affectedObjects && (typeof this.affectedObjects != "string" && (this.affectedObjects = rG(this.affectedObjects, A)), e.appendLine("rel affectedObjects = " + this.affectedObjects)), typeof this.duration == "number" && e.appendLine(`double duration = ${this.duration} `), this.easeType && e.appendLine(`token easeType = "${this.easeType}"`), this.tokenId && e.appendLine(`token info:id = "${this.tokenId}"`), this.motionType && e.appendLine(`token motionType = "${this.motionType}"`), typeof this.moveDistance == "number" && e.appendLine(`double moveDistance = ${this.moveDistance} `), this.style && e.appendLine(`token style = "${this.style}"`), this.type && e.appendLine(`token type = "${this.type}"`), this.front && e.appendLine(`vector3d front = (${this.front.x}, ${this.front.y}, ${this.front.z})`), this.up && e.appendLine(`vector3d upVector = (${this.up.x}, ${this.up.y}, ${this.up.z})`), typeof this.start == "number" && e.appendLine(`double start = ${this.start} `), typeof this.animationSpeed == "number" && e.appendLine(`double animationSpeed = ${this.animationSpeed} `), typeof this.reversed == "boolean" && e.appendLine(`bool reversed = ${this.reversed}`), typeof this.pingPong == "boolean" && e.appendLine(`bool reverses = ${this.pingPong}`), this.xFormTarget && (typeof this.xFormTarget != "string" && (this.xFormTarget = rG(this.xFormTarget, A)), e.appendLine(`rel xformTarget = ${this.xFormTarget}`)), typeof this.audio == "string" && e.appendLine(`asset audio = @${this.audio}@`), typeof this.gain == "number" && e.appendLine(`double gain = ${this.gain}`), typeof this.auralMode == "string" && e.appendLine(`token auralMode = "${this.auralMode}"`), typeof this.multiplePerformOperation == "string" && e.appendLine(`token multiplePerformOperation = "${this.multiplePerformOperation}"`), e.closeBlock();
|
|
47487
47488
|
}
|
|
47488
47489
|
};
|
|
47489
|
-
let
|
|
47490
|
-
r(
|
|
47490
|
+
let So = Ff;
|
|
47491
|
+
r(So, "global_id", 0);
|
|
47491
47492
|
let XB = class YB {
|
|
47492
47493
|
constructor(A, e, t) {
|
|
47493
47494
|
r(this, "x", 0);
|
|
@@ -47520,7 +47521,7 @@ class dt {
|
|
|
47520
47521
|
return new cr("group_" + cr.getId(), A).makeParallel();
|
|
47521
47522
|
}
|
|
47522
47523
|
static fadeAction(A, e, t) {
|
|
47523
|
-
const g = new
|
|
47524
|
+
const g = new So(A);
|
|
47524
47525
|
return g.tokenId = "Visibility", g.type = t ? "show" : "hide", g.duration = e, g.style = "basic", g.motionType = "none", g.moveDistance = 0, g.easeType = "none", g;
|
|
47525
47526
|
}
|
|
47526
47527
|
/**
|
|
@@ -47529,7 +47530,7 @@ class dt {
|
|
|
47529
47530
|
* @param duration in seconds! 0 means play to end
|
|
47530
47531
|
*/
|
|
47531
47532
|
static startAnimationAction(A, e, t = 0, g = 1, I = !1, o = !1) {
|
|
47532
|
-
const s = new
|
|
47533
|
+
const s = new So(A);
|
|
47533
47534
|
if (s.tokenId = "StartAnimation", s.start = e, s.duration = t, s.animationSpeed = g, s.reversed = I, s.pingPong = o, I && (s.start -= t), o) {
|
|
47534
47535
|
s.pingPong = !1;
|
|
47535
47536
|
const C = s.clone();
|
|
@@ -47538,23 +47539,23 @@ class dt {
|
|
|
47538
47539
|
return F9 && console.log("Start Animation Action", s), s;
|
|
47539
47540
|
}
|
|
47540
47541
|
static waitAction(A) {
|
|
47541
|
-
const e = new
|
|
47542
|
+
const e = new So();
|
|
47542
47543
|
return e.tokenId = "Wait", e.duration = A, e;
|
|
47543
47544
|
}
|
|
47544
47545
|
static lookAtCameraAction(A, e = 9999999999999, t, g) {
|
|
47545
|
-
const I = new
|
|
47546
|
+
const I = new So(A);
|
|
47546
47547
|
return I.tokenId = "LookAtCamera", I.duration = e, I.front = t ?? XB.forward, I.up = g ?? XB.up, I;
|
|
47547
47548
|
}
|
|
47548
47549
|
static emphasize(A, e, t = 2, g = 1, I = "basic") {
|
|
47549
|
-
const o = new
|
|
47550
|
+
const o = new So(A);
|
|
47550
47551
|
return o.tokenId = "Emphasize", o.duration = e, o.style = I ?? "basic", o.motionType = UM[t], o.moveDistance = g, o;
|
|
47551
47552
|
}
|
|
47552
47553
|
static transformAction(A, e, t, g, I = "inout") {
|
|
47553
|
-
const o = new
|
|
47554
|
+
const o = new So(A);
|
|
47554
47555
|
return o.tokenId = "Transform", o.duration = t, o.type = g, o.easeType = I, Array.isArray(e) && console.error("Transform target must not be an array", e), o.xFormTarget = e, o;
|
|
47555
47556
|
}
|
|
47556
47557
|
static playAudioAction(A, e, t = "play", g = 1, I = "spatial") {
|
|
47557
|
-
const o = new
|
|
47558
|
+
const o = new So(A);
|
|
47558
47559
|
return o.tokenId = "Audio", o.type = t, o.audio = e, o.gain = g, o.auralMode = I, o.multiplePerformOperation = "allow", o;
|
|
47559
47560
|
}
|
|
47560
47561
|
}
|
|
@@ -47657,7 +47658,7 @@ var q9 = Object.defineProperty, v9 = Object.getOwnPropertyDescriptor, fl = (i, A
|
|
|
47657
47658
|
return t && g && q9(A, e, g), g;
|
|
47658
47659
|
};
|
|
47659
47660
|
const kn = sA("debuganimation");
|
|
47660
|
-
class
|
|
47661
|
+
class Ko extends UA {
|
|
47661
47662
|
constructor() {
|
|
47662
47663
|
super(...arguments);
|
|
47663
47664
|
r(this, "playAutomatically", !0);
|
|
@@ -47795,19 +47796,19 @@ class No extends UA {
|
|
|
47795
47796
|
}
|
|
47796
47797
|
fl([
|
|
47797
47798
|
D()
|
|
47798
|
-
],
|
|
47799
|
+
], Ko.prototype, "playAutomatically", 2);
|
|
47799
47800
|
fl([
|
|
47800
47801
|
D()
|
|
47801
|
-
],
|
|
47802
|
+
], Ko.prototype, "randomStartTime", 2);
|
|
47802
47803
|
fl([
|
|
47803
47804
|
D()
|
|
47804
|
-
],
|
|
47805
|
+
], Ko.prototype, "loop", 2);
|
|
47805
47806
|
fl([
|
|
47806
47807
|
D()
|
|
47807
|
-
],
|
|
47808
|
+
], Ko.prototype, "clampWhenFinished", 2);
|
|
47808
47809
|
fl([
|
|
47809
47810
|
D(eI)
|
|
47810
|
-
],
|
|
47811
|
+
], Ko.prototype, "clips", 1);
|
|
47811
47812
|
class b9 {
|
|
47812
47813
|
constructor(A, e, t, g) {
|
|
47813
47814
|
r(this, "mixer");
|
|
@@ -48664,9 +48665,9 @@ _t.registerCallback(Zg.ContextCreated, (i) => {
|
|
|
48664
48665
|
for (const e of i.files)
|
|
48665
48666
|
oA.foreachComponent(e.file.scene, (g) => {
|
|
48666
48667
|
if (g.enabled !== !1) {
|
|
48667
|
-
if (g instanceof
|
|
48668
|
+
if (g instanceof Ko && g.playAutomatically || g instanceof iI || g instanceof Xn && g.playOnAwake === !0)
|
|
48668
48669
|
return !0;
|
|
48669
|
-
if (g instanceof
|
|
48670
|
+
if (g instanceof Ko)
|
|
48670
48671
|
return g.playAutomatically = !0, !0;
|
|
48671
48672
|
if (g instanceof Xn)
|
|
48672
48673
|
return g.playOnAwake = !0, !0;
|
|
@@ -48685,7 +48686,7 @@ function O9(i) {
|
|
|
48685
48686
|
if (!s && (s = i.scene.getObjectByProperty("uuid", o), !s))
|
|
48686
48687
|
continue;
|
|
48687
48688
|
let C = A(s);
|
|
48688
|
-
C || (C = WQ(i.scene, new
|
|
48689
|
+
C || (C = WQ(i.scene, new Ko()));
|
|
48689
48690
|
const n = C.animations = C.animations || [];
|
|
48690
48691
|
t.name_animator = C.name, n.indexOf(t) < 0 && n.push(t);
|
|
48691
48692
|
}
|
|
@@ -48698,7 +48699,7 @@ function O9(i) {
|
|
|
48698
48699
|
if (t && t.length > 0)
|
|
48699
48700
|
for (let I = 0; I < t.length; I++) {
|
|
48700
48701
|
const o = t[I];
|
|
48701
|
-
if (o instanceof iI || o instanceof
|
|
48702
|
+
if (o instanceof iI || o instanceof Ko)
|
|
48702
48703
|
return e;
|
|
48703
48704
|
}
|
|
48704
48705
|
return A(e.parent);
|
|
@@ -50041,7 +50042,7 @@ class B6 extends FA {
|
|
|
50041
50042
|
this.intersectBoxObject(A) ? A.onPress() : A.onClear(), A.isPressed() && A.whilePressed();
|
|
50042
50043
|
}
|
|
50043
50044
|
}
|
|
50044
|
-
const Q6 = 0.05, yJ = 0.02, Cu = 0.01, SJ = 0.02, kJ = 1, UB = 0.4, E6 = 2e-3, WE = 0.01, nu = 3e-3, GJ = 0.035, St = 16,
|
|
50045
|
+
const Q6 = 0.05, yJ = 0.02, Cu = 0.01, SJ = 0.02, kJ = 1, UB = 0.4, E6 = 2e-3, WE = 0.01, nu = 3e-3, GJ = 0.035, St = 16, Co = 12, bS = 110, c6 = /* @__PURE__ */ new y(0, 1, 0), h6 = /* @__PURE__ */ new y(0, 0, 1), l6 = 0.02, d6 = 1.5;
|
|
50045
50046
|
class u6 extends FA {
|
|
50046
50047
|
constructor(A, e) {
|
|
50047
50048
|
super(), this.hand = A, this.controller = e, this.motionController = null, this.envMap = null, this.mesh = null, this.pointerGeometry = null, this.pointerMesh = null, this.pointerObject = null, this.pinched = !1, this.attached = !1, this.cursorObject = null, this.raycaster = null, this._onConnected = this._onConnected.bind(this), this._onDisconnected = this._onDisconnected.bind(this), this.hand.addEventListener("connected", this._onConnected), this.hand.addEventListener("disconnected", this._onDisconnected);
|
|
@@ -50073,12 +50074,12 @@ class u6 extends FA {
|
|
|
50073
50074
|
Math.cos(Math.PI * bS / 180) * A,
|
|
50074
50075
|
0
|
|
50075
50076
|
);
|
|
50076
|
-
for (let n = 0; n <
|
|
50077
|
+
for (let n = 0; n < Co; n++)
|
|
50077
50078
|
this._drawVerticesRing(e, g, n + 1), g.applyAxisAngle(
|
|
50078
50079
|
c6,
|
|
50079
|
-
Math.PI * bS / 180 / (
|
|
50080
|
+
Math.PI * bS / 180 / (Co * -2)
|
|
50080
50081
|
);
|
|
50081
|
-
const I = St * (1 +
|
|
50082
|
+
const I = St * (1 + Co), o = St * (1 + Co) + 1, s = new y(
|
|
50082
50083
|
0,
|
|
50083
50084
|
0,
|
|
50084
50085
|
-1 * (GJ - A)
|
|
@@ -50093,12 +50094,12 @@ class u6 extends FA {
|
|
|
50093
50094
|
createPointer() {
|
|
50094
50095
|
let A, e;
|
|
50095
50096
|
const t = new Array(
|
|
50096
|
-
((
|
|
50097
|
+
((Co + 1) * St + 2) * 3
|
|
50097
50098
|
).fill(0), g = [];
|
|
50098
50099
|
for (this.pointerGeometry = new ue(), this.pointerGeometry.setAttribute(
|
|
50099
50100
|
"position",
|
|
50100
50101
|
new Ce(t, 3)
|
|
50101
|
-
), this._updatePointerVertices(WE), A = 0; A <
|
|
50102
|
+
), this._updatePointerVertices(WE), A = 0; A < Co; A++) {
|
|
50102
50103
|
for (e = 0; e < St - 1; e++)
|
|
50103
50104
|
g.push(
|
|
50104
50105
|
A * St + e,
|
|
@@ -50119,21 +50120,21 @@ class u6 extends FA {
|
|
|
50119
50120
|
(A + 2) * St - 1
|
|
50120
50121
|
);
|
|
50121
50122
|
}
|
|
50122
|
-
const I = St * (1 +
|
|
50123
|
+
const I = St * (1 + Co), o = St * (1 + Co) + 1;
|
|
50123
50124
|
for (A = 0; A < St - 1; A++)
|
|
50124
50125
|
g.push(I, A + 1, A), g.push(
|
|
50125
50126
|
o,
|
|
50126
|
-
A + St *
|
|
50127
|
-
A + St *
|
|
50127
|
+
A + St * Co,
|
|
50128
|
+
A + St * Co + 1
|
|
50128
50129
|
);
|
|
50129
50130
|
g.push(I, 0, St - 1), g.push(
|
|
50130
50131
|
o,
|
|
50131
|
-
St * (
|
|
50132
|
-
St *
|
|
50132
|
+
St * (Co + 1) - 1,
|
|
50133
|
+
St * Co
|
|
50133
50134
|
);
|
|
50134
50135
|
const s = new Et();
|
|
50135
50136
|
s.transparent = !0, s.opacity = UB, this.pointerGeometry.setIndex(g), this.pointerMesh = new wA(this.pointerGeometry, s), this.pointerMesh.position.set(0, 0, -1 * WE), this.pointerObject = new FA(), this.pointerObject.add(this.pointerMesh), this.raycaster = new HQ();
|
|
50136
|
-
const C = new
|
|
50137
|
+
const C = new Jo(l6, 10, 10), n = new Et();
|
|
50137
50138
|
n.transparent = !0, n.opacity = UB, this.cursorObject = new wA(C, n), this.pointerObject.add(this.cursorObject), this.add(this.pointerObject), this.pointerObject.layers.mask = this.layers.mask, this.pointerMesh.layers.mask = this.layers.mask;
|
|
50138
50139
|
}
|
|
50139
50140
|
_updateRaycaster() {
|
|
@@ -50447,7 +50448,7 @@ function R6(i, A) {
|
|
|
50447
50448
|
const { type: t, touchPointNodeName: g, visualResponses: I } = e;
|
|
50448
50449
|
if (t === ii.ComponentType.TOUCHPAD)
|
|
50449
50450
|
if (e.touchPointNode = A.getObjectByName(g), e.touchPointNode) {
|
|
50450
|
-
const o = new
|
|
50451
|
+
const o = new Jo(1e-3), s = new Et({ color: 255 }), C = new wA(o, s);
|
|
50451
50452
|
e.touchPointNode.add(C);
|
|
50452
50453
|
} else
|
|
50453
50454
|
console.warn(`Could not find touch dot, ${e.touchPointNodeName}, in touchpad component ${e.id}`);
|
|
@@ -50639,22 +50640,22 @@ const PU = class {
|
|
|
50639
50640
|
return (this.Mask & A) !== 0;
|
|
50640
50641
|
}
|
|
50641
50642
|
Set(A) {
|
|
50642
|
-
HB && console.warn("Set XR flag state to", A), this.Mask = A,
|
|
50643
|
+
HB && console.warn("Set XR flag state to", A), this.Mask = A, Go.Apply();
|
|
50643
50644
|
}
|
|
50644
50645
|
Enable(A) {
|
|
50645
|
-
this.Mask |= A,
|
|
50646
|
+
this.Mask |= A, Go.Apply();
|
|
50646
50647
|
}
|
|
50647
50648
|
Disable(A) {
|
|
50648
|
-
this.Mask &= ~A,
|
|
50649
|
+
this.Mask &= ~A, Go.Apply();
|
|
50649
50650
|
}
|
|
50650
50651
|
Toggle(A) {
|
|
50651
|
-
this.Mask ^= A,
|
|
50652
|
+
this.Mask ^= A, Go.Apply();
|
|
50652
50653
|
}
|
|
50653
50654
|
EnableAll() {
|
|
50654
|
-
this.Mask = -1,
|
|
50655
|
+
this.Mask = -1, Go.Apply();
|
|
50655
50656
|
}
|
|
50656
50657
|
DisableAll() {
|
|
50657
|
-
this.Mask = 0,
|
|
50658
|
+
this.Mask = 0, Go.Apply();
|
|
50658
50659
|
}
|
|
50659
50660
|
};
|
|
50660
50661
|
let lI = PU;
|
|
@@ -50697,10 +50698,10 @@ const lC = (sc = class extends UA {
|
|
|
50697
50698
|
}
|
|
50698
50699
|
}
|
|
50699
50700
|
}, r(sc, "registry", []), r(sc, "firstApply"), r(sc, "buffer", new lI()), sc);
|
|
50700
|
-
let
|
|
50701
|
+
let Go = lC;
|
|
50701
50702
|
K6([
|
|
50702
50703
|
D()
|
|
50703
|
-
],
|
|
50704
|
+
], Go.prototype, "visibleIn", 2);
|
|
50704
50705
|
const Un = sA("debugavatar"), Zo = class extends UA {
|
|
50705
50706
|
constructor() {
|
|
50706
50707
|
super(...arguments);
|
|
@@ -50822,8 +50823,8 @@ const oh = class {
|
|
|
50822
50823
|
Un && console.log(A);
|
|
50823
50824
|
const t = await oh.loader.getOrCreateNewAvatarInstance(this.context, A);
|
|
50824
50825
|
if (Un && console.log(t, t == null ? void 0 : t.isValid, this.lastAvatarId, A), t != null && t.isValid) {
|
|
50825
|
-
if (this.root = t.root, this.root.position.set(0, 0, 0), this.root.quaternion.set(0, 0, 0, 1), this.root.scale.set(1, 1, 1), this.avatarMarker = oA.addNewComponent(this.root, lg), this.avatarMarker.connectionId = this.guid, this.avatarMarker.avatar = this, this.head && this.head !== t.head && ((g = this.head) == null || g.removeFromParent()), this.head = t.head, this.headScale.copy(this.head.scale), this.head && !this.isLocalAvatar && DI.Add(this.context, this.head, this.avatarMarker), t.leftHand && ((I = this.handLeft) == null || I.removeFromParent()), this.handLeft = t.leftHand ?? this.handLeft, this.handLeft ? this.handLeftScale.copy(this.handLeft.scale) : this.handLeftScale.set(1, 1, 1), t.rigthHand && ((o = this.handRight) == null || o.removeFromParent()), this.handRight = t.rigthHand ?? this.handRight, this.handRight ? this.handRightScale.copy(this.handRight.scale) : this.handRightScale.set(1, 1, 1), this.context.scene.add(this.root), this.flags == null && (this.flags = []), this.flags.length = 0, this.flags.push(...oA.getComponentsInChildren(this.root,
|
|
50826
|
-
const s = oA.addNewComponent(this.head,
|
|
50826
|
+
if (this.root = t.root, this.root.position.set(0, 0, 0), this.root.quaternion.set(0, 0, 0, 1), this.root.scale.set(1, 1, 1), this.avatarMarker = oA.addNewComponent(this.root, lg), this.avatarMarker.connectionId = this.guid, this.avatarMarker.avatar = this, this.head && this.head !== t.head && ((g = this.head) == null || g.removeFromParent()), this.head = t.head, this.headScale.copy(this.head.scale), this.head && !this.isLocalAvatar && DI.Add(this.context, this.head, this.avatarMarker), t.leftHand && ((I = this.handLeft) == null || I.removeFromParent()), this.handLeft = t.leftHand ?? this.handLeft, this.handLeft ? this.handLeftScale.copy(this.handLeft.scale) : this.handLeftScale.set(1, 1, 1), t.rigthHand && ((o = this.handRight) == null || o.removeFromParent()), this.handRight = t.rigthHand ?? this.handRight, this.handRight ? this.handRightScale.copy(this.handRight.scale) : this.handRightScale.set(1, 1, 1), this.context.scene.add(this.root), this.flags == null && (this.flags = []), this.flags.length = 0, this.flags.push(...oA.getComponentsInChildren(this.root, Go)), this.flags.length <= 0 && this.head) {
|
|
50827
|
+
const s = oA.addNewComponent(this.head, Go);
|
|
50827
50828
|
s.visibleIn = Mi.ThirdPerson | Mi.VR, this.flags.push(s), Un && console.log("Added flag to head: " + s.visibleIn, this.head.name);
|
|
50828
50829
|
}
|
|
50829
50830
|
return Un && console.log("[Avatar], is Local? ", this.isLocalAvatar, this.root), this.updateFlags(), this.updateVisibility(), !0;
|
|
@@ -50935,7 +50936,7 @@ class wl extends UA {
|
|
|
50935
50936
|
}
|
|
50936
50937
|
}
|
|
50937
50938
|
var dC = /* @__PURE__ */ ((i) => (i[i.Average = 0] = "Average", i[i.Multiply = 1] = "Multiply", i[i.Minimum = 2] = "Minimum", i[i.Maximum = 3] = "Maximum", i))(dC || {}), qM = /* @__PURE__ */ ((i) => (i[i.Discrete = 0] = "Discrete", i[i.Continuous = 1] = "Continuous", i))(qM || {}), yi = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.FreezePositionX = 2] = "FreezePositionX", i[i.FreezePositionY = 4] = "FreezePositionY", i[i.FreezePositionZ = 8] = "FreezePositionZ", i[i.FreezePosition = 14] = "FreezePosition", i[i.FreezeRotationX = 16] = "FreezeRotationX", i[i.FreezeRotationY = 32] = "FreezeRotationY", i[i.FreezeRotationZ = 64] = "FreezeRotationZ", i[i.FreezeRotation = 112] = "FreezeRotation", i[i.FreezeAll = 126] = "FreezeAll", i))(yi || {}), lc = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.X = 2] = "X", i[i.Y = 4] = "Y", i[i.Z = 8] = "Z", i[i.All = -1] = "All", i))(lc || {});
|
|
50938
|
-
const
|
|
50939
|
+
const qo = function(i, A) {
|
|
50939
50940
|
return function(e, t, g) {
|
|
50940
50941
|
q6(e, t, g, i, A);
|
|
50941
50942
|
};
|
|
@@ -51237,39 +51238,39 @@ const cG = (m0 = class extends UA {
|
|
|
51237
51238
|
}, r(m0, "tempPosition", new y()), m0);
|
|
51238
51239
|
let si = cG;
|
|
51239
51240
|
In([
|
|
51240
|
-
|
|
51241
|
+
qo(),
|
|
51241
51242
|
D()
|
|
51242
51243
|
], si.prototype, "mass", 2);
|
|
51243
51244
|
In([
|
|
51244
|
-
|
|
51245
|
+
qo(),
|
|
51245
51246
|
D()
|
|
51246
51247
|
], si.prototype, "useGravity", 2);
|
|
51247
51248
|
In([
|
|
51248
|
-
|
|
51249
|
+
qo(),
|
|
51249
51250
|
D()
|
|
51250
51251
|
], si.prototype, "constraints", 2);
|
|
51251
51252
|
In([
|
|
51252
|
-
|
|
51253
|
+
qo(),
|
|
51253
51254
|
D()
|
|
51254
51255
|
], si.prototype, "isKinematic", 2);
|
|
51255
51256
|
In([
|
|
51256
|
-
|
|
51257
|
+
qo(),
|
|
51257
51258
|
D()
|
|
51258
51259
|
], si.prototype, "drag", 2);
|
|
51259
51260
|
In([
|
|
51260
|
-
|
|
51261
|
+
qo(),
|
|
51261
51262
|
D()
|
|
51262
51263
|
], si.prototype, "angularDrag", 2);
|
|
51263
51264
|
In([
|
|
51264
|
-
|
|
51265
|
+
qo(),
|
|
51265
51266
|
D()
|
|
51266
51267
|
], si.prototype, "detectCollisions", 2);
|
|
51267
51268
|
In([
|
|
51268
|
-
|
|
51269
|
+
qo(),
|
|
51269
51270
|
D()
|
|
51270
51271
|
], si.prototype, "sleepThreshold", 2);
|
|
51271
51272
|
In([
|
|
51272
|
-
|
|
51273
|
+
qo(),
|
|
51273
51274
|
D()
|
|
51274
51275
|
], si.prototype, "collisionDetectionMode", 2);
|
|
51275
51276
|
class PI {
|
|
@@ -51575,7 +51576,7 @@ os.d(Ki, {
|
|
|
51575
51576
|
),
|
|
51576
51577
|
tx: () => (
|
|
51577
51578
|
/* reexport */
|
|
51578
|
-
|
|
51579
|
+
wo
|
|
51579
51580
|
),
|
|
51580
51581
|
hj: () => (
|
|
51581
51582
|
/* reexport */
|
|
@@ -51623,7 +51624,7 @@ os.d(bM, {
|
|
|
51623
51624
|
asPreprocessorValueTransformer: () => IY,
|
|
51624
51625
|
toPreprocessorTriggerTransformer: () => zM,
|
|
51625
51626
|
toUserDataTransformer: () => Z7,
|
|
51626
|
-
uniformOrUserDataTransformer: () =>
|
|
51627
|
+
uniformOrUserDataTransformer: () => fo
|
|
51627
51628
|
});
|
|
51628
51629
|
const hG = {
|
|
51629
51630
|
fontFamily: null,
|
|
@@ -51874,8 +51875,8 @@ var P6 = (i) => {
|
|
|
51874
51875
|
var A = {};
|
|
51875
51876
|
return os.d(A, i), A;
|
|
51876
51877
|
};
|
|
51877
|
-
const _A = P6({ BackSide: () => di, BufferAttribute: () => ae, BufferGeometry: () => ue, Color: () => SA, DoubleSide: () => Gt, EventDispatcher: () => zi, FileLoader: () => _i, FrontSide: () => qg, LinearFilter: () => Le, Mesh: () => wA, MeshBasicMaterial: () => Et, Object3D: () => FA, Plane: () =>
|
|
51878
|
-
class
|
|
51878
|
+
const _A = P6({ BackSide: () => di, BufferAttribute: () => ae, BufferGeometry: () => ue, Color: () => SA, DoubleSide: () => Gt, EventDispatcher: () => zi, FileLoader: () => _i, FrontSide: () => qg, LinearFilter: () => Le, Mesh: () => wA, MeshBasicMaterial: () => Et, Object3D: () => FA, Plane: () => ko, PlaneGeometry: () => pg, ShaderMaterial: () => be, Texture: () => qe, TextureLoader: () => TC, Vector2: () => tA, Vector3: () => y, Vector4: () => ge });
|
|
51879
|
+
class Vt extends ft {
|
|
51879
51880
|
/**
|
|
51880
51881
|
*
|
|
51881
51882
|
* @param {string} propertyId
|
|
@@ -51952,7 +51953,7 @@ class Wt extends ft {
|
|
|
51952
51953
|
return e ? e[`_${this._id}`].getInheritedInput(e) : this.getDefaultValue();
|
|
51953
51954
|
}
|
|
51954
51955
|
}
|
|
51955
|
-
class _D extends
|
|
51956
|
+
class _D extends Vt {
|
|
51956
51957
|
constructor(A, e) {
|
|
51957
51958
|
super(A, e, !1), this._input = new _A.Vector4(0, 0, 0, 0), this._inline = null, this._value = new _A.Vector4(0, 0, 0, 0);
|
|
51958
51959
|
}
|
|
@@ -52448,7 +52449,7 @@ function I7(i, A) {
|
|
|
52448
52449
|
A._needsUpdate = !0, i._glyphs._needsProcess = !0, A._fontVariant.removeEventListener("ready", A._handleFontReadyClosure), A._handleFontReadyClosure = null;
|
|
52449
52450
|
};
|
|
52450
52451
|
}
|
|
52451
|
-
class o7 extends
|
|
52452
|
+
class o7 extends Vt {
|
|
52452
52453
|
constructor(A) {
|
|
52453
52454
|
super("display", A), this._value = "flex", this._allowsInherit = !1, this._needsUpdate = !1, this.isValidValue = C7;
|
|
52454
52455
|
}
|
|
@@ -52460,7 +52461,7 @@ const s7 = ["none", "flex"];
|
|
|
52460
52461
|
function C7(i) {
|
|
52461
52462
|
return s7.indexOf(i) === -1 ? (console.warn(`(.style) display value '${i}' is not valid. Aborted`), !1) : !0;
|
|
52462
52463
|
}
|
|
52463
|
-
class n7 extends
|
|
52464
|
+
class n7 extends Vt {
|
|
52464
52465
|
constructor(A) {
|
|
52465
52466
|
super("boxSizing", A), this._allowsInherit = !1, this.isValidValue = r7;
|
|
52466
52467
|
}
|
|
@@ -52472,7 +52473,7 @@ const a7 = ["border-box", "content-box"];
|
|
|
52472
52473
|
function r7(i) {
|
|
52473
52474
|
return a7.indexOf(i) === -1 ? (console.warn(`(.style) boxSizing value '${i}' is not valid. Aborted`), !1) : !0;
|
|
52474
52475
|
}
|
|
52475
|
-
class Nh extends
|
|
52476
|
+
class Nh extends Vt {
|
|
52476
52477
|
constructor(A, e) {
|
|
52477
52478
|
super(A, e, !1), this._value = new _A.Color(), this.output = this._outputValue;
|
|
52478
52479
|
}
|
|
@@ -52487,7 +52488,7 @@ class Nh extends Wt {
|
|
|
52487
52488
|
this._input = this._inline = A, this._needsUpdate = !0;
|
|
52488
52489
|
}
|
|
52489
52490
|
}
|
|
52490
|
-
class LS extends
|
|
52491
|
+
class LS extends Vt {
|
|
52491
52492
|
/**
|
|
52492
52493
|
*
|
|
52493
52494
|
* @param {string} propertyId
|
|
@@ -52503,7 +52504,7 @@ class LS extends Wt {
|
|
|
52503
52504
|
function B7(i) {
|
|
52504
52505
|
return i < 0 && i > 1 ? (console.warn(`(.style) styleFactorProperty('${this.id}') value '${i}' is not valid)`), !1) : !0;
|
|
52505
52506
|
}
|
|
52506
|
-
class Q7 extends
|
|
52507
|
+
class Q7 extends Vt {
|
|
52507
52508
|
constructor(A) {
|
|
52508
52509
|
super("backgroundImage", A, !0), this._input = null, this._allowsInherit = !1, this._textureSize = new _A.Vector2(1, 1), this.isValidValue = E7;
|
|
52509
52510
|
}
|
|
@@ -52537,7 +52538,7 @@ class Q7 extends Wt {
|
|
|
52537
52538
|
function E7(i) {
|
|
52538
52539
|
return !0;
|
|
52539
52540
|
}
|
|
52540
|
-
class c7 extends
|
|
52541
|
+
class c7 extends Vt {
|
|
52541
52542
|
constructor(A) {
|
|
52542
52543
|
super("backgroundSize", A, !0), this.isValidValue = l7, this.output = this._outputValue;
|
|
52543
52544
|
}
|
|
@@ -52546,7 +52547,7 @@ const h7 = ["cover", "contain", "stretch"];
|
|
|
52546
52547
|
function l7(i) {
|
|
52547
52548
|
return h7.indexOf(i) === -1 ? (console.warn(`(.style) backgroundSize value '${i}' is not valid. Aborted`), !1) : !0;
|
|
52548
52549
|
}
|
|
52549
|
-
class d7 extends
|
|
52550
|
+
class d7 extends Vt {
|
|
52550
52551
|
constructor(A) {
|
|
52551
52552
|
super("overflow", A, !0), this.isValidValue = p7, this._clippingPlanes = null, this._renderStrategy = this._emptyRender;
|
|
52552
52553
|
}
|
|
@@ -53034,12 +53035,12 @@ class S7 extends ft {
|
|
|
53034
53035
|
const k7 = ["start", "center", "end", "stretch"], G7 = function(i) {
|
|
53035
53036
|
return k7.indexOf(i) === -1 ? (console.warn(`(.style) alignItems value '${i}' is not valid. Aborted`), !1) : !0;
|
|
53036
53037
|
};
|
|
53037
|
-
class xM extends
|
|
53038
|
+
class xM extends Vt {
|
|
53038
53039
|
constructor() {
|
|
53039
53040
|
super("alignItems", "inherit", !0), this.isValidValue = G7;
|
|
53040
53041
|
}
|
|
53041
53042
|
}
|
|
53042
|
-
class TM extends
|
|
53043
|
+
class TM extends Vt {
|
|
53043
53044
|
constructor() {
|
|
53044
53045
|
super("textAlign", "inherit", !0), this.isValidValue = M7;
|
|
53045
53046
|
}
|
|
@@ -53047,7 +53048,7 @@ class TM extends Wt {
|
|
|
53047
53048
|
const m7 = ["left", "right", "center", "justify", "justify-left", "justify-right", "justify-center"], M7 = function(i) {
|
|
53048
53049
|
return m7.indexOf(i) === -1 ? (console.warn(`(.style) textAlign value '${i}' is not valid. Aborted`), !1) : !0;
|
|
53049
53050
|
};
|
|
53050
|
-
class YM extends
|
|
53051
|
+
class YM extends Vt {
|
|
53051
53052
|
constructor() {
|
|
53052
53053
|
super("flexDirection", "inherit", !0), this.isValid = U7;
|
|
53053
53054
|
}
|
|
@@ -53056,7 +53057,7 @@ const R7 = ["row", "row-reverse", "column", "column-reverse"];
|
|
|
53056
53057
|
function U7(i) {
|
|
53057
53058
|
return R7.indexOf(i) === -1 ? (console.warn(`(.style) flexDirection value '${i}' is not valid. Aborted`), !1) : !0;
|
|
53058
53059
|
}
|
|
53059
|
-
class HM extends
|
|
53060
|
+
class HM extends Vt {
|
|
53060
53061
|
constructor() {
|
|
53061
53062
|
super("justifyContent", "inherit", !0), this.isValidValue = N7;
|
|
53062
53063
|
}
|
|
@@ -53065,7 +53066,7 @@ const F7 = ["start", "center", "end", "space-between", "space-around", "space-ev
|
|
|
53065
53066
|
function N7(i) {
|
|
53066
53067
|
return F7.indexOf(i) === -1 ? (console.warn(`(.style) justifyContent value '${i}' is not valid. Aborted`), !1) : !0;
|
|
53067
53068
|
}
|
|
53068
|
-
class K7 extends
|
|
53069
|
+
class K7 extends Vt {
|
|
53069
53070
|
constructor() {
|
|
53070
53071
|
super("order", 0, !0), this._value = 0, this._input = 0, this._allowsInherit = !1;
|
|
53071
53072
|
}
|
|
@@ -53074,7 +53075,7 @@ class K7 extends Wt {
|
|
|
53074
53075
|
this._value = this._inheritedInput, A._parent._value && (A._parent._value._children._needsProcess = !0);
|
|
53075
53076
|
}
|
|
53076
53077
|
}
|
|
53077
|
-
class jT extends
|
|
53078
|
+
class jT extends Vt {
|
|
53078
53079
|
constructor() {
|
|
53079
53080
|
super("position", "static", !0), this._allowsInherit = !1, this._value = "static", this._needsUpdate = !1, this.computeOutputValue = this._computeFromInherited, this.isValidValue = q7;
|
|
53080
53081
|
}
|
|
@@ -53086,7 +53087,7 @@ const J7 = ["static", "absolute"];
|
|
|
53086
53087
|
function q7(i) {
|
|
53087
53088
|
return J7.indexOf(i) === -1 ? (console.warn(`(.style) position value '${i}' is not valid. Aborted`), !1) : !0;
|
|
53088
53089
|
}
|
|
53089
|
-
class ZT extends
|
|
53090
|
+
class ZT extends Vt {
|
|
53090
53091
|
/**
|
|
53091
53092
|
*
|
|
53092
53093
|
* @param {string} propertyId
|
|
@@ -53178,7 +53179,7 @@ class XT extends uC {
|
|
|
53178
53179
|
this._value = e;
|
|
53179
53180
|
}
|
|
53180
53181
|
}
|
|
53181
|
-
class $T extends
|
|
53182
|
+
class $T extends Vt {
|
|
53182
53183
|
constructor(A) {
|
|
53183
53184
|
super("fontStyle", A, !0), this.isValidValue = x7;
|
|
53184
53185
|
}
|
|
@@ -53187,7 +53188,7 @@ const L7 = ["normal", "italic"];
|
|
|
53187
53188
|
function x7(i) {
|
|
53188
53189
|
return L7.indexOf(i) === -1 ? (console.warn(`(.style) fontStyle value '${i}' is not valid. Aborted`), !1) : !0;
|
|
53189
53190
|
}
|
|
53190
|
-
class AY extends
|
|
53191
|
+
class AY extends Vt {
|
|
53191
53192
|
constructor() {
|
|
53192
53193
|
super("fontWeight", "inherit", !0), this.isValid = Y7;
|
|
53193
53194
|
}
|
|
@@ -53845,12 +53846,12 @@ float tap(vec2 offsetUV) {
|
|
|
53845
53846
|
i.defines && (e ? i.defines[A] === void 0 && (i.defines[A] = "", i.needsUpdate = !0) : i.defines[A] !== void 0 && (delete i.defines[A], i.needsUpdate = !0));
|
|
53846
53847
|
}, IY = function(i, A, e) {
|
|
53847
53848
|
i.defines[A] && i.defines[A] === e || (i.defines[A] = e, i.needsUpdate = !0);
|
|
53848
|
-
},
|
|
53849
|
+
}, fo = function(i, A, e) {
|
|
53849
53850
|
i.userData[A] ? i.userData[A].value = e : i.uniforms[A].value = e;
|
|
53850
53851
|
}, Z7 = function(i, A, e) {
|
|
53851
53852
|
i.userData[A].value = e;
|
|
53852
53853
|
};
|
|
53853
|
-
class
|
|
53854
|
+
class wo {
|
|
53854
53855
|
/**
|
|
53855
53856
|
* Alter a material options with required fontMaterial options and or default values
|
|
53856
53857
|
* @param {Object.<string,any>} materialOptions
|
|
@@ -53887,7 +53888,7 @@ class Do {
|
|
|
53887
53888
|
* @param shader
|
|
53888
53889
|
*/
|
|
53889
53890
|
static injectShaderChunks(A) {
|
|
53890
|
-
|
|
53891
|
+
wo.injectVertexShaderChunks(A), wo.injectFragmentShaderChunks(A);
|
|
53891
53892
|
}
|
|
53892
53893
|
/**
|
|
53893
53894
|
*
|
|
@@ -53931,7 +53932,7 @@ class Do {
|
|
|
53931
53932
|
static from(A) {
|
|
53932
53933
|
return class extends A {
|
|
53933
53934
|
constructor(t = {}) {
|
|
53934
|
-
|
|
53935
|
+
wo.ensureMaterialOptions(t);
|
|
53935
53936
|
super(t);
|
|
53936
53937
|
/**
|
|
53937
53938
|
*
|
|
@@ -53941,9 +53942,9 @@ class Do {
|
|
|
53941
53942
|
* @private
|
|
53942
53943
|
*/
|
|
53943
53944
|
r(this, "_cumulativeOnBeforeCompile", (t) => {
|
|
53944
|
-
|
|
53945
|
+
wo.bindUniformsWithUserData(t, this), wo.injectShaderChunks(t), this._userDefinedOnBeforeCompile(t);
|
|
53945
53946
|
});
|
|
53946
|
-
|
|
53947
|
+
wo.ensureDefines(this), wo.ensureUserData(this, t), this._userDefinedOnBeforeCompile = (g) => {
|
|
53947
53948
|
}, this._onBeforeCompile = this._cumulativeOnBeforeCompile;
|
|
53948
53949
|
}
|
|
53949
53950
|
/**
|
|
@@ -53952,7 +53953,7 @@ class Do {
|
|
|
53952
53953
|
* @returns {Object.<{m:string, t?:(fontMaterial:Material|ShaderMaterial, materialProperty:string, value:any) => void}>}
|
|
53953
53954
|
*/
|
|
53954
53955
|
static get fontMaterialProperties() {
|
|
53955
|
-
return
|
|
53956
|
+
return wo.mediation;
|
|
53956
53957
|
}
|
|
53957
53958
|
////////////////////////////
|
|
53958
53959
|
// OnBeforeCompile Override
|
|
@@ -54041,7 +54042,7 @@ class jM extends _A.ShaderMaterial {
|
|
|
54041
54042
|
* @returns {Object.<{m:string, t?:(fontMaterial:Material|ShaderMaterial, materialProperty:string, value:any) => void}>}
|
|
54042
54043
|
*/
|
|
54043
54044
|
static get mediation() {
|
|
54044
|
-
return
|
|
54045
|
+
return wo.mediation;
|
|
54045
54046
|
}
|
|
54046
54047
|
constructor(A = {}) {
|
|
54047
54048
|
super({
|
|
@@ -54389,7 +54390,7 @@ const E$ = {
|
|
|
54389
54390
|
setMissingCharacterHandler: B$,
|
|
54390
54391
|
missingCharacter: Q$
|
|
54391
54392
|
}, Fr = E$;
|
|
54392
|
-
class sY extends
|
|
54393
|
+
class sY extends Vt {
|
|
54393
54394
|
constructor() {
|
|
54394
54395
|
super("fontFamily", "inherit", !0);
|
|
54395
54396
|
}
|
|
@@ -54422,7 +54423,7 @@ class sY extends Wt {
|
|
|
54422
54423
|
return e ? e[`_${this._id}`].getInheritedInput(e) : this.getDefaultValue();
|
|
54423
54424
|
}
|
|
54424
54425
|
}
|
|
54425
|
-
class CY extends
|
|
54426
|
+
class CY extends Vt {
|
|
54426
54427
|
/**
|
|
54427
54428
|
*
|
|
54428
54429
|
*/
|
|
@@ -54433,7 +54434,7 @@ class CY extends Wt {
|
|
|
54433
54434
|
super.update(A, e), A._layouter._needsProcess = !0;
|
|
54434
54435
|
}
|
|
54435
54436
|
}
|
|
54436
|
-
class nY extends
|
|
54437
|
+
class nY extends Vt {
|
|
54437
54438
|
constructor() {
|
|
54438
54439
|
super("whiteSpace", "inherit"), this.isValidValue = h$;
|
|
54439
54440
|
}
|
|
@@ -54442,12 +54443,12 @@ const c$ = ["normal", "nowrap", "pre", "pre-line", "pre-wrap"];
|
|
|
54442
54443
|
function h$(i) {
|
|
54443
54444
|
return c$.indexOf(i) === -1 ? (console.warn(`(.style) whiteSpace value '${i}' is not valid. Aborted`), !1) : !0;
|
|
54444
54445
|
}
|
|
54445
|
-
class aY extends
|
|
54446
|
+
class aY extends Vt {
|
|
54446
54447
|
constructor() {
|
|
54447
54448
|
super("letterSpacing", "inherit", !0);
|
|
54448
54449
|
}
|
|
54449
54450
|
}
|
|
54450
|
-
class l$ extends
|
|
54451
|
+
class l$ extends Vt {
|
|
54451
54452
|
constructor() {
|
|
54452
54453
|
super("fontSize", "inherit", !0);
|
|
54453
54454
|
}
|
|
@@ -54462,7 +54463,7 @@ class d$ extends _r {
|
|
|
54462
54463
|
super("invertAlpha", "inherit");
|
|
54463
54464
|
}
|
|
54464
54465
|
}
|
|
54465
|
-
class WD extends
|
|
54466
|
+
class WD extends Vt {
|
|
54466
54467
|
constructor() {
|
|
54467
54468
|
super("fontKerning", "inherit"), this.isValidValue = p$;
|
|
54468
54469
|
}
|
|
@@ -54543,10 +54544,10 @@ function UQ(i, A) {
|
|
|
54543
54544
|
var nt = function(A, e) {
|
|
54544
54545
|
e === void 0 && (e = {}), this.label = A, this.keyword = e.keyword, this.beforeExpr = !!e.beforeExpr, this.startsExpr = !!e.startsExpr, this.isLoop = !!e.isLoop, this.isAssign = !!e.isAssign, this.prefix = !!e.prefix, this.postfix = !!e.postfix, this.binop = e.binop || null, this.updateContext = null;
|
|
54545
54546
|
};
|
|
54546
|
-
function
|
|
54547
|
+
function no(i, A) {
|
|
54547
54548
|
return new nt(i, { beforeExpr: !0, binop: A });
|
|
54548
54549
|
}
|
|
54549
|
-
var
|
|
54550
|
+
var ao = { beforeExpr: !0 }, CI = { startsExpr: !0 }, ZM = {};
|
|
54550
54551
|
function it(i, A) {
|
|
54551
54552
|
return A === void 0 && (A = {}), A.keyword = i, ZM[i] = new nt(i, A);
|
|
54552
54553
|
}
|
|
@@ -54564,16 +54565,16 @@ var K = {
|
|
|
54564
54565
|
braceR: new nt("}"),
|
|
54565
54566
|
parenL: new nt("(", { beforeExpr: !0, startsExpr: !0 }),
|
|
54566
54567
|
parenR: new nt(")"),
|
|
54567
|
-
comma: new nt(",",
|
|
54568
|
-
semi: new nt(";",
|
|
54569
|
-
colon: new nt(":",
|
|
54568
|
+
comma: new nt(",", ao),
|
|
54569
|
+
semi: new nt(";", ao),
|
|
54570
|
+
colon: new nt(":", ao),
|
|
54570
54571
|
dot: new nt("."),
|
|
54571
|
-
question: new nt("?",
|
|
54572
|
+
question: new nt("?", ao),
|
|
54572
54573
|
questionDot: new nt("?."),
|
|
54573
|
-
arrow: new nt("=>",
|
|
54574
|
+
arrow: new nt("=>", ao),
|
|
54574
54575
|
template: new nt("template"),
|
|
54575
54576
|
invalidTemplate: new nt("invalidTemplate"),
|
|
54576
|
-
ellipsis: new nt("...",
|
|
54577
|
+
ellipsis: new nt("...", ao),
|
|
54577
54578
|
backQuote: new nt("`", CI),
|
|
54578
54579
|
dollarBraceL: new nt("${", { beforeExpr: !0, startsExpr: !0 }),
|
|
54579
54580
|
// Operators. These carry several kinds of properties to help the
|
|
@@ -54593,36 +54594,36 @@ var K = {
|
|
|
54593
54594
|
assign: new nt("_=", { beforeExpr: !0, isAssign: !0 }),
|
|
54594
54595
|
incDec: new nt("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
|
|
54595
54596
|
prefix: new nt("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
54596
|
-
logicalOR:
|
|
54597
|
-
logicalAND:
|
|
54598
|
-
bitwiseOR:
|
|
54599
|
-
bitwiseXOR:
|
|
54600
|
-
bitwiseAND:
|
|
54601
|
-
equality:
|
|
54602
|
-
relational:
|
|
54603
|
-
bitShift:
|
|
54597
|
+
logicalOR: no("||", 1),
|
|
54598
|
+
logicalAND: no("&&", 2),
|
|
54599
|
+
bitwiseOR: no("|", 3),
|
|
54600
|
+
bitwiseXOR: no("^", 4),
|
|
54601
|
+
bitwiseAND: no("&", 5),
|
|
54602
|
+
equality: no("==/!=/===/!==", 6),
|
|
54603
|
+
relational: no("</>/<=/>=", 7),
|
|
54604
|
+
bitShift: no("<</>>/>>>", 8),
|
|
54604
54605
|
plusMin: new nt("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
|
|
54605
|
-
modulo:
|
|
54606
|
-
star:
|
|
54607
|
-
slash:
|
|
54606
|
+
modulo: no("%", 10),
|
|
54607
|
+
star: no("*", 10),
|
|
54608
|
+
slash: no("/", 10),
|
|
54608
54609
|
starstar: new nt("**", { beforeExpr: !0 }),
|
|
54609
|
-
coalesce:
|
|
54610
|
+
coalesce: no("??", 1),
|
|
54610
54611
|
// Keyword token types.
|
|
54611
54612
|
_break: it("break"),
|
|
54612
|
-
_case: it("case",
|
|
54613
|
+
_case: it("case", ao),
|
|
54613
54614
|
_catch: it("catch"),
|
|
54614
54615
|
_continue: it("continue"),
|
|
54615
54616
|
_debugger: it("debugger"),
|
|
54616
|
-
_default: it("default",
|
|
54617
|
+
_default: it("default", ao),
|
|
54617
54618
|
_do: it("do", { isLoop: !0, beforeExpr: !0 }),
|
|
54618
|
-
_else: it("else",
|
|
54619
|
+
_else: it("else", ao),
|
|
54619
54620
|
_finally: it("finally"),
|
|
54620
54621
|
_for: it("for", { isLoop: !0 }),
|
|
54621
54622
|
_function: it("function", CI),
|
|
54622
54623
|
_if: it("if"),
|
|
54623
|
-
_return: it("return",
|
|
54624
|
+
_return: it("return", ao),
|
|
54624
54625
|
_switch: it("switch"),
|
|
54625
|
-
_throw: it("throw",
|
|
54626
|
+
_throw: it("throw", ao),
|
|
54626
54627
|
_try: it("try"),
|
|
54627
54628
|
_var: it("var"),
|
|
54628
54629
|
_const: it("const"),
|
|
@@ -54632,7 +54633,7 @@ var K = {
|
|
|
54632
54633
|
_this: it("this", CI),
|
|
54633
54634
|
_super: it("super", CI),
|
|
54634
54635
|
_class: it("class", CI),
|
|
54635
|
-
_extends: it("extends",
|
|
54636
|
+
_extends: it("extends", ao),
|
|
54636
54637
|
_export: it("export"),
|
|
54637
54638
|
_import: it("import", CI),
|
|
54638
54639
|
_null: it("null", CI),
|
|
@@ -54643,7 +54644,7 @@ var K = {
|
|
|
54643
54644
|
_typeof: it("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
54644
54645
|
_void: it("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
54645
54646
|
_delete: it("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
|
|
54646
|
-
},
|
|
54647
|
+
}, vo = /\r\n?|\n|\u2028|\u2029/, G$ = new RegExp(vo.source, "g");
|
|
54647
54648
|
function XQ(i) {
|
|
54648
54649
|
return i === 10 || i === 13 || i === 8232 || i === 8233;
|
|
54649
54650
|
}
|
|
@@ -54656,7 +54657,7 @@ function EY(i, A, e) {
|
|
|
54656
54657
|
}
|
|
54657
54658
|
return -1;
|
|
54658
54659
|
}
|
|
54659
|
-
var cY = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,
|
|
54660
|
+
var cY = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, mo = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, hY = Object.prototype, m$ = hY.hasOwnProperty, M$ = hY.toString, Sl = Object.hasOwn || function(i, A) {
|
|
54660
54661
|
return m$.call(i, A);
|
|
54661
54662
|
}, NJ = Array.isArray || function(i) {
|
|
54662
54663
|
return M$.call(i) === "[object Array]";
|
|
@@ -54809,7 +54810,7 @@ var If = 0, tR = 1, _C = 2, DY = 3, wY = 4, yY = 5, og = function(A, e, t) {
|
|
|
54809
54810
|
A.allowReserved !== !0 && (g = xS[A.ecmaVersion >= 6 ? 6 : A.ecmaVersion === 5 ? 5 : 3], A.sourceType === "module" && (g += " await")), this.reservedWords = lr(g);
|
|
54810
54811
|
var I = (g ? g + " " : "") + xS.strict;
|
|
54811
54812
|
this.reservedWordsStrict = lr(I), this.reservedWordsStrictBind = lr(I + " " + xS.strictBind), this.input = String(e), this.containsEsc = !1, t ? (this.pos = t, this.lineStart = this.input.lastIndexOf(`
|
|
54812
|
-
`, t - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(
|
|
54813
|
+
`, t - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(vo).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = K.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = A.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && A.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Jh), this.regexpState = null, this.privateNameStack = [];
|
|
54813
54814
|
}, Zs = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
|
|
54814
54815
|
og.prototype.parse = function() {
|
|
54815
54816
|
var A = this.options.program || this.startNode();
|
|
@@ -54874,16 +54875,16 @@ II.strictDirective = function(i) {
|
|
|
54874
54875
|
if (this.options.ecmaVersion < 5)
|
|
54875
54876
|
return !1;
|
|
54876
54877
|
for (; ; ) {
|
|
54877
|
-
|
|
54878
|
+
mo.lastIndex = i, i += mo.exec(this.input)[0].length;
|
|
54878
54879
|
var A = N$.exec(this.input.slice(i));
|
|
54879
54880
|
if (!A)
|
|
54880
54881
|
return !1;
|
|
54881
54882
|
if ((A[1] || A[2]) === "use strict") {
|
|
54882
|
-
|
|
54883
|
-
var e =
|
|
54884
|
-
return g === ";" || g === "}" ||
|
|
54883
|
+
mo.lastIndex = i + A[0].length;
|
|
54884
|
+
var e = mo.exec(this.input), t = e.index + e[0].length, g = this.input.charAt(t);
|
|
54885
|
+
return g === ";" || g === "}" || vo.test(e[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(g) || g === "!" && this.input.charAt(t + 1) === "=");
|
|
54885
54886
|
}
|
|
54886
|
-
i += A[0].length,
|
|
54887
|
+
i += A[0].length, mo.lastIndex = i, i += mo.exec(this.input)[0].length, this.input[i] === ";" && i++;
|
|
54887
54888
|
}
|
|
54888
54889
|
};
|
|
54889
54890
|
II.eat = function(i) {
|
|
@@ -54899,7 +54900,7 @@ II.expectContextual = function(i) {
|
|
|
54899
54900
|
this.eatContextual(i) || this.unexpected();
|
|
54900
54901
|
};
|
|
54901
54902
|
II.canInsertSemicolon = function() {
|
|
54902
|
-
return this.type === K.eof || this.type === K.braceR ||
|
|
54903
|
+
return this.type === K.eof || this.type === K.braceR || vo.test(this.input.slice(this.lastTokEnd, this.start));
|
|
54903
54904
|
};
|
|
54904
54905
|
II.insertSemicolon = function() {
|
|
54905
54906
|
if (this.canInsertSemicolon())
|
|
@@ -54960,8 +54961,8 @@ var iR = { kind: "loop" }, K$ = { kind: "switch" };
|
|
|
54960
54961
|
Fe.isLet = function(i) {
|
|
54961
54962
|
if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
|
|
54962
54963
|
return !1;
|
|
54963
|
-
|
|
54964
|
-
var A =
|
|
54964
|
+
mo.lastIndex = this.pos;
|
|
54965
|
+
var A = mo.exec(this.input), e = this.pos + A[0].length, t = this.input.charCodeAt(e);
|
|
54965
54966
|
if (t === 91 || t === 92 || t > 55295 && t < 56320)
|
|
54966
54967
|
return !0;
|
|
54967
54968
|
if (i)
|
|
@@ -54982,9 +54983,9 @@ Fe.isLet = function(i) {
|
|
|
54982
54983
|
Fe.isAsyncFunction = function() {
|
|
54983
54984
|
if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
|
|
54984
54985
|
return !1;
|
|
54985
|
-
|
|
54986
|
-
var i =
|
|
54987
|
-
return !
|
|
54986
|
+
mo.lastIndex = this.pos;
|
|
54987
|
+
var i = mo.exec(this.input), A = this.pos + i[0].length, e;
|
|
54988
|
+
return !vo.test(this.input.slice(this.pos, A)) && this.input.slice(A, A + 8) === "function" && (A + 8 === this.input.length || !(UQ(e = this.input.charCodeAt(A + 8)) || e > 55295 && e < 56320));
|
|
54988
54989
|
};
|
|
54989
54990
|
Fe.parseStatement = function(i, A, e) {
|
|
54990
54991
|
var t = this.type, g = this.startNode(), I;
|
|
@@ -55026,8 +55027,8 @@ Fe.parseStatement = function(i, A, e) {
|
|
|
55026
55027
|
case K._export:
|
|
55027
55028
|
case K._import:
|
|
55028
55029
|
if (this.options.ecmaVersion > 10 && t === K._import) {
|
|
55029
|
-
|
|
55030
|
-
var o =
|
|
55030
|
+
mo.lastIndex = this.pos;
|
|
55031
|
+
var o = mo.exec(this.input), s = this.pos + o[0].length, C = this.input.charCodeAt(s);
|
|
55031
55032
|
if (C === 40 || C === 46)
|
|
55032
55033
|
return this.parseExpressionStatement(g, this.parseExpression());
|
|
55033
55034
|
}
|
|
@@ -55088,7 +55089,7 @@ Fe.parseSwitchStatement = function(i) {
|
|
|
55088
55089
|
return this.exitScope(), A && this.finishNode(A, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(i, "SwitchStatement");
|
|
55089
55090
|
};
|
|
55090
55091
|
Fe.parseThrowStatement = function(i) {
|
|
55091
|
-
return this.next(),
|
|
55092
|
+
return this.next(), vo.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), i.argument = this.parseExpression(), this.semicolon(), this.finishNode(i, "ThrowStatement");
|
|
55092
55093
|
};
|
|
55093
55094
|
var J$ = [];
|
|
55094
55095
|
Fe.parseTryStatement = function(i) {
|
|
@@ -55551,7 +55552,7 @@ AE.curContext = function() {
|
|
|
55551
55552
|
};
|
|
55552
55553
|
AE.braceIsBlock = function(i) {
|
|
55553
55554
|
var A = this.curContext();
|
|
55554
|
-
return A === Pt.f_expr || A === Pt.f_stat ? !0 : i === K.colon && (A === Pt.b_stat || A === Pt.b_expr) ? !A.isExpr : i === K._return || i === K.name && this.exprAllowed ?
|
|
55555
|
+
return A === Pt.f_expr || A === Pt.f_stat ? !0 : i === K.colon && (A === Pt.b_stat || A === Pt.b_expr) ? !A.isExpr : i === K._return || i === K.name && this.exprAllowed ? vo.test(this.input.slice(this.lastTokEnd, this.start)) : i === K._else || i === K.semi || i === K.eof || i === K.parenR || i === K.arrow ? !0 : i === K.braceL ? A === Pt.b_stat : i === K._var || i === K._const || i === K.name ? !1 : !this.exprAllowed;
|
|
55555
55556
|
};
|
|
55556
55557
|
AE.inGeneratorContext = function() {
|
|
55557
55558
|
for (var i = this.context.length - 1; i >= 1; i--) {
|
|
@@ -55589,7 +55590,7 @@ K.parenL.updateContext = function(i) {
|
|
|
55589
55590
|
K.incDec.updateContext = function() {
|
|
55590
55591
|
};
|
|
55591
55592
|
K._function.updateContext = K._class.updateContext = function(i) {
|
|
55592
|
-
i.beforeExpr && i !== K._else && !(i === K.semi && this.curContext() !== Pt.p_stat) && !(i === K._return &&
|
|
55593
|
+
i.beforeExpr && i !== K._else && !(i === K.semi && this.curContext() !== Pt.p_stat) && !(i === K._return && vo.test(this.input.slice(this.lastTokEnd, this.start))) && !((i === K.colon || i === K.braceL) && this.curContext() === Pt.b_stat) ? this.context.push(Pt.f_expr) : this.context.push(Pt.f_stat), this.exprAllowed = !1;
|
|
55593
55594
|
};
|
|
55594
55595
|
K.backQuote.updateContext = function() {
|
|
55595
55596
|
this.curContext() === Pt.q_tmpl ? this.context.pop() : this.context.push(Pt.q_tmpl), this.exprAllowed = !1;
|
|
@@ -55919,7 +55920,7 @@ Pe.parseTemplate = function(i) {
|
|
|
55919
55920
|
return this.next(), this.finishNode(e, "TemplateLiteral");
|
|
55920
55921
|
};
|
|
55921
55922
|
Pe.isAsyncProp = function(i) {
|
|
55922
|
-
return !i.computed && i.key.type === "Identifier" && i.key.name === "async" && (this.type === K.name || this.type === K.num || this.type === K.string || this.type === K.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === K.star) && !
|
|
55923
|
+
return !i.computed && i.key.type === "Identifier" && i.key.name === "async" && (this.type === K.name || this.type === K.num || this.type === K.string || this.type === K.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === K.star) && !vo.test(this.input.slice(this.lastTokEnd, this.start));
|
|
55923
55924
|
};
|
|
55924
55925
|
Pe.parseObj = function(i, A) {
|
|
55925
55926
|
var e = this.startNode(), t = !0, g = {};
|
|
@@ -56910,7 +56911,7 @@ tt.readToken_caret = function() {
|
|
|
56910
56911
|
};
|
|
56911
56912
|
tt.readToken_plus_min = function(i) {
|
|
56912
56913
|
var A = this.input.charCodeAt(this.pos + 1);
|
|
56913
|
-
return A === i ? A === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 ||
|
|
56914
|
+
return A === i ? A === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || vo.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(K.incDec, 2) : A === 61 ? this.finishOp(K.assign, 2) : this.finishOp(K.plusMin, 1);
|
|
56914
56915
|
};
|
|
56915
56916
|
tt.readToken_lt_gt = function(i) {
|
|
56916
56917
|
var A = this.input.charCodeAt(this.pos + 1), e = 1;
|
|
@@ -57031,7 +57032,7 @@ tt.readRegexp = function() {
|
|
|
57031
57032
|
for (var i, A, e = this.pos; ; ) {
|
|
57032
57033
|
this.pos >= this.input.length && this.raise(e, "Unterminated regular expression");
|
|
57033
57034
|
var t = this.input.charAt(this.pos);
|
|
57034
|
-
if (
|
|
57035
|
+
if (vo.test(t) && this.raise(e, "Unterminated regular expression"), i)
|
|
57035
57036
|
i = !1;
|
|
57036
57037
|
else {
|
|
57037
57038
|
if (t === "[")
|
|
@@ -57264,7 +57265,7 @@ og.acorn = {
|
|
|
57264
57265
|
isIdentifierStart: $C,
|
|
57265
57266
|
Token: gR,
|
|
57266
57267
|
isNewLine: XQ,
|
|
57267
|
-
lineBreak:
|
|
57268
|
+
lineBreak: vo,
|
|
57268
57269
|
lineBreakG: G$,
|
|
57269
57270
|
nonASCIIwhitespace: cY
|
|
57270
57271
|
};
|
|
@@ -57631,7 +57632,7 @@ class ml extends _A.Object3D {
|
|
|
57631
57632
|
* @param {Material|ShaderMaterial} material
|
|
57632
57633
|
*/
|
|
57633
57634
|
set backgroundMaterial(e) {
|
|
57634
|
-
this._backgroundMaterial = e, this._backgroundMaterialMediation = { ...e.constructor.mediation }, this._transferToBackgroundMaterial(), this._backgroundMesh && (this._backgroundMesh.material = this._backgroundMaterial,
|
|
57635
|
+
this._backgroundMaterial = e, this._backgroundMaterialMediation = { ...e.constructor.mediation }, this._transferToBackgroundMaterial(), this._backgroundMesh && (this._backgroundMesh.material = this._backgroundMaterial, fo(e, "frameSize", this._backgroundMesh.scale));
|
|
57635
57636
|
}
|
|
57636
57637
|
/**
|
|
57637
57638
|
*
|
|
@@ -57786,7 +57787,7 @@ class ml extends _A.Object3D {
|
|
|
57786
57787
|
* @param {Mesh|Array.<Mesh>|null} mesh
|
|
57787
57788
|
*/
|
|
57788
57789
|
setBackgroundMesh(e) {
|
|
57789
|
-
this._backgroundMesh && (this.remove(this._backgroundMesh), this.unbindBackgroundMeshProperties()), this._backgroundMesh = e, this._backgroundMesh && (this.bindBackgroundMeshProperties(), this._backgroundCustomDepthMaterial && (this._backgroundMesh.customDepthMaterial = this._backgroundCustomDepthMaterial), this._backgroundMaterial &&
|
|
57790
|
+
this._backgroundMesh && (this.remove(this._backgroundMesh), this.unbindBackgroundMeshProperties()), this._backgroundMesh = e, this._backgroundMesh && (this.bindBackgroundMeshProperties(), this._backgroundCustomDepthMaterial && (this._backgroundMesh.customDepthMaterial = this._backgroundCustomDepthMaterial), this._backgroundMaterial && fo(this._backgroundMaterial, "frameSize", this._backgroundMesh.scale), this._transferToBackgroundMesh(), this.add(this._backgroundMesh));
|
|
57790
57791
|
}
|
|
57791
57792
|
/**
|
|
57792
57793
|
*
|
|
@@ -58442,15 +58443,15 @@ const CAA = function(i, A, e) {
|
|
|
58442
58443
|
backgroundColor: { m: "color" },
|
|
58443
58444
|
backgroundOpacity: { m: "opacity" },
|
|
58444
58445
|
backgroundSize: { m: "computedBackgroundSize", t: CAA },
|
|
58445
|
-
borderWidth: { m: "borderWidth", t:
|
|
58446
|
-
borderColor: { m: "borderColor", t:
|
|
58447
|
-
cornerTL: { m: "cornerTL", t:
|
|
58448
|
-
cornerTR: { m: "cornerTR", t:
|
|
58449
|
-
cornerBR: { m: "cornerBR", t:
|
|
58450
|
-
cornerBL: { m: "cornerBL", t:
|
|
58451
|
-
borderOpacity: { m: "borderOpacity", t:
|
|
58452
|
-
size: { m: "frameSize", t:
|
|
58453
|
-
tSize: { m: "textureSize", t:
|
|
58446
|
+
borderWidth: { m: "borderWidth", t: fo },
|
|
58447
|
+
borderColor: { m: "borderColor", t: fo },
|
|
58448
|
+
cornerTL: { m: "cornerTL", t: fo },
|
|
58449
|
+
cornerTR: { m: "cornerTR", t: fo },
|
|
58450
|
+
cornerBR: { m: "cornerBR", t: fo },
|
|
58451
|
+
cornerBL: { m: "cornerBL", t: fo },
|
|
58452
|
+
borderOpacity: { m: "borderOpacity", t: fo },
|
|
58453
|
+
size: { m: "frameSize", t: fo },
|
|
58454
|
+
tSize: { m: "textureSize", t: fo }
|
|
58454
58455
|
};
|
|
58455
58456
|
class PY extends _A.ShaderMaterial {
|
|
58456
58457
|
/**
|
|
@@ -59593,7 +59594,7 @@ class IH extends aY {
|
|
|
59593
59594
|
super._computeFromInherited(A), A._fontSize._needsProcess = !0, A._layouter._needsProcess = !0;
|
|
59594
59595
|
}
|
|
59595
59596
|
}
|
|
59596
|
-
class oH extends
|
|
59597
|
+
class oH extends Vt {
|
|
59597
59598
|
constructor() {
|
|
59598
59599
|
super("fontSize", "inherit", !0), this._allowsInherit = !1;
|
|
59599
59600
|
}
|
|
@@ -60407,7 +60408,7 @@ const aH = () => Cf.update(), rH = {
|
|
|
60407
60408
|
MeshUIBaseElement: ml,
|
|
60408
60409
|
FontLibrary: Fr,
|
|
60409
60410
|
update: aH,
|
|
60410
|
-
MSDFFontMaterialUtils:
|
|
60411
|
+
MSDFFontMaterialUtils: wo,
|
|
60411
60412
|
ShaderChunkUI: OY,
|
|
60412
60413
|
Behavior: nH,
|
|
60413
60414
|
FontVariant: yl
|
|
@@ -60614,7 +60615,7 @@ const eg = class extends UA {
|
|
|
60614
60615
|
return t.color = this.raycastColor, e.layers.set(2), e.name = "line", e.scale.z = 1, e;
|
|
60615
60616
|
}
|
|
60616
60617
|
static CreateRaycastHitPoint() {
|
|
60617
|
-
const e = new
|
|
60618
|
+
const e = new Jo(0.5, 22, 22), t = new Et({ color: this.raycastColor }), g = new wA(e, t);
|
|
60618
60619
|
return g.visible = !1, g.layers.set(2), g;
|
|
60619
60620
|
}
|
|
60620
60621
|
static Create(e, t, g, I) {
|
|
@@ -62396,7 +62397,7 @@ class ya extends UA {
|
|
|
62396
62397
|
start() {
|
|
62397
62398
|
if (this.autoTarget) {
|
|
62398
62399
|
if (this._controls) {
|
|
62399
|
-
const e = oA.getComponent(this.gameObject,
|
|
62400
|
+
const e = oA.getComponent(this.gameObject, Wt);
|
|
62400
62401
|
if (e && !this.setFromTargetPosition()) {
|
|
62401
62402
|
this.debugLog && console.log("NO TARGET");
|
|
62402
62403
|
const g = ke(e.cam).length(), I = new y(0, 0, -g).applyMatrix4(e.cam.matrixWorld);
|
|
@@ -62413,7 +62414,7 @@ class ya extends UA {
|
|
|
62413
62414
|
}
|
|
62414
62415
|
onEnable() {
|
|
62415
62416
|
this._enableTime = this.context.time.time;
|
|
62416
|
-
const e = oA.getComponent(this.gameObject,
|
|
62417
|
+
const e = oA.getComponent(this.gameObject, Wt);
|
|
62417
62418
|
this._camera = e;
|
|
62418
62419
|
const t = e == null ? void 0 : e.cam;
|
|
62419
62420
|
if (t && YJ(t, this, !0), !this._controls) {
|
|
@@ -62541,7 +62542,7 @@ class ya extends UA {
|
|
|
62541
62542
|
ItA([
|
|
62542
62543
|
D(HD)
|
|
62543
62544
|
], ya.prototype, "lookAtConstraint", 2);
|
|
62544
|
-
var stA = Object.defineProperty, CtA = Object.getOwnPropertyDescriptor,
|
|
62545
|
+
var stA = Object.defineProperty, CtA = Object.getOwnPropertyDescriptor, jI = (i, A, e, t) => {
|
|
62545
62546
|
for (var g = t > 1 ? void 0 : t ? CtA(A, e) : A, I = i.length - 1, o; I >= 0; I--)
|
|
62546
62547
|
(o = i[I]) && (g = (t ? o(A, e, g) : o(g)) || g);
|
|
62547
62548
|
return t && g && stA(A, e, g), g;
|
|
@@ -62559,6 +62560,7 @@ const wc = (Ju = class extends UA {
|
|
|
62559
62560
|
r(this, "_cullingMask", 4294967295);
|
|
62560
62561
|
r(this, "_backgroundBlurriness");
|
|
62561
62562
|
r(this, "_backgroundIntensity");
|
|
62563
|
+
r(this, "_environmentIntensity");
|
|
62562
62564
|
r(this, "_targetTexture", null);
|
|
62563
62565
|
r(this, "_backgroundColor");
|
|
62564
62566
|
r(this, "_fov");
|
|
@@ -62623,6 +62625,12 @@ const wc = (Ju = class extends UA {
|
|
|
62623
62625
|
get backgroundIntensity() {
|
|
62624
62626
|
return this._backgroundIntensity;
|
|
62625
62627
|
}
|
|
62628
|
+
set environmentIntensity(A) {
|
|
62629
|
+
this._environmentIntensity = A;
|
|
62630
|
+
}
|
|
62631
|
+
get environmentIntensity() {
|
|
62632
|
+
return this._environmentIntensity;
|
|
62633
|
+
}
|
|
62626
62634
|
get backgroundColor() {
|
|
62627
62635
|
return this._backgroundColor ?? null;
|
|
62628
62636
|
}
|
|
@@ -62740,43 +62748,46 @@ const wc = (Ju = class extends UA {
|
|
|
62740
62748
|
return g;
|
|
62741
62749
|
}
|
|
62742
62750
|
}, r(Ju, "_origin", new y()), r(Ju, "_direction", new y()), Ju);
|
|
62743
|
-
let
|
|
62744
|
-
|
|
62751
|
+
let Wt = wc;
|
|
62752
|
+
jI([
|
|
62753
|
+
D()
|
|
62754
|
+
], Wt.prototype, "fieldOfView", 1);
|
|
62755
|
+
jI([
|
|
62745
62756
|
D()
|
|
62746
|
-
],
|
|
62747
|
-
|
|
62757
|
+
], Wt.prototype, "nearClipPlane", 1);
|
|
62758
|
+
jI([
|
|
62748
62759
|
D()
|
|
62749
|
-
],
|
|
62750
|
-
|
|
62760
|
+
], Wt.prototype, "farClipPlane", 1);
|
|
62761
|
+
jI([
|
|
62751
62762
|
D()
|
|
62752
|
-
],
|
|
62753
|
-
|
|
62763
|
+
], Wt.prototype, "clearFlags", 1);
|
|
62764
|
+
jI([
|
|
62754
62765
|
D()
|
|
62755
|
-
],
|
|
62756
|
-
|
|
62766
|
+
], Wt.prototype, "orthographic", 2);
|
|
62767
|
+
jI([
|
|
62757
62768
|
D()
|
|
62758
|
-
],
|
|
62759
|
-
|
|
62769
|
+
], Wt.prototype, "orthographicSize", 2);
|
|
62770
|
+
jI([
|
|
62760
62771
|
D()
|
|
62761
|
-
],
|
|
62762
|
-
|
|
62772
|
+
], Wt.prototype, "ARBackgroundAlpha", 2);
|
|
62773
|
+
jI([
|
|
62763
62774
|
D()
|
|
62764
|
-
],
|
|
62765
|
-
|
|
62775
|
+
], Wt.prototype, "cullingMask", 1);
|
|
62776
|
+
jI([
|
|
62766
62777
|
D()
|
|
62767
|
-
],
|
|
62768
|
-
|
|
62778
|
+
], Wt.prototype, "backgroundBlurriness", 1);
|
|
62779
|
+
jI([
|
|
62769
62780
|
D()
|
|
62770
|
-
],
|
|
62771
|
-
|
|
62781
|
+
], Wt.prototype, "backgroundIntensity", 1);
|
|
62782
|
+
jI([
|
|
62772
62783
|
D()
|
|
62773
|
-
],
|
|
62774
|
-
|
|
62784
|
+
], Wt.prototype, "environmentIntensity", 1);
|
|
62785
|
+
jI([
|
|
62775
62786
|
D(Mt)
|
|
62776
|
-
],
|
|
62777
|
-
|
|
62787
|
+
], Wt.prototype, "backgroundColor", 1);
|
|
62788
|
+
jI([
|
|
62778
62789
|
D(Sr)
|
|
62779
|
-
],
|
|
62790
|
+
], Wt.prototype, "targetTexture", 1);
|
|
62780
62791
|
class atA {
|
|
62781
62792
|
constructor(A) {
|
|
62782
62793
|
r(this, "_camera");
|
|
@@ -62788,7 +62799,7 @@ class atA {
|
|
|
62788
62799
|
return (A = this._camera) == null ? void 0 : A.context;
|
|
62789
62800
|
}
|
|
62790
62801
|
enable() {
|
|
62791
|
-
this._skybox = this.context.lightmaps.tryGetSkybox(this._camera.sourceId), this._skybox ? this.context.scene.background !== this._skybox && (Dc && console.log("Set skybox", this._camera, this._skybox), this._skybox.colorSpace = Ae, this._skybox.mapping =
|
|
62802
|
+
this._skybox = this.context.lightmaps.tryGetSkybox(this._camera.sourceId), this._skybox ? this.context.scene.background !== this._skybox && (Dc && console.log("Set skybox", this._camera, this._skybox), this._skybox.colorSpace = Ae, this._skybox.mapping = Ro, this.context.scene.background = this._skybox) : console.warn("Failed to load/find skybox texture", this._camera.sourceId, this.context.lightmaps);
|
|
62792
62803
|
}
|
|
62793
62804
|
}
|
|
62794
62805
|
function rtA(i) {
|
|
@@ -62809,7 +62820,7 @@ class Th extends UA {
|
|
|
62809
62820
|
const e = this.listener;
|
|
62810
62821
|
if (e == null || e.parent)
|
|
62811
62822
|
return;
|
|
62812
|
-
const t = this.context.mainCameraComponent || oA.getComponentInParent(this.gameObject,
|
|
62823
|
+
const t = this.context.mainCameraComponent || oA.getComponentInParent(this.gameObject, Wt);
|
|
62813
62824
|
t != null && t.cam ? t.cam.add(e) : this.gameObject.add(e);
|
|
62814
62825
|
});
|
|
62815
62826
|
}
|
|
@@ -62909,7 +62920,7 @@ let Ul = pC;
|
|
|
62909
62920
|
Aw([
|
|
62910
62921
|
D(Rl)
|
|
62911
62922
|
], Ul.prototype, "events", 2);
|
|
62912
|
-
var
|
|
62923
|
+
var co = /* @__PURE__ */ ((i) => (i.Activation = "ActivationTrack", i.Animation = "AnimationTrack", i.Audio = "AudioTrack", i.Control = "ControlTrack", i.Marker = "MarkerTrack", i.Signal = "SignalTrack", i))(co || {}), fC = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.Hold = 1] = "Hold", i[i.Loop = 2] = "Loop", i[i.PingPong = 3] = "PingPong", i[i.Continue = 4] = "Continue", i))(fC || {}), hH = /* @__PURE__ */ ((i) => (i.Signal = "SignalEmitter", i))(hH || {});
|
|
62913
62924
|
const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
62914
62925
|
constructor() {
|
|
62915
62926
|
super(...arguments);
|
|
@@ -63104,7 +63115,7 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63104
63115
|
for (const t of this.playableAsset.tracks)
|
|
63105
63116
|
if (!t.muted)
|
|
63106
63117
|
switch (t.type) {
|
|
63107
|
-
case
|
|
63118
|
+
case co.Activation:
|
|
63108
63119
|
if (!this._isPlaying)
|
|
63109
63120
|
continue;
|
|
63110
63121
|
for (let g = 0; g < t.outputs.length; g++) {
|
|
@@ -63145,10 +63156,10 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63145
63156
|
} else if (I === null) {
|
|
63146
63157
|
if (t.outputs.splice(g, 1), Kf.createTrackFunctions[t.type])
|
|
63147
63158
|
continue;
|
|
63148
|
-
t.type !==
|
|
63159
|
+
t.type !== co.Audio && t.type !== co.Control && t.type !== co.Marker && t.type !== co.Signal && console.warn("Missing binding", I, t.name, t.type, this.name, this.playableAsset.name);
|
|
63149
63160
|
}
|
|
63150
63161
|
}
|
|
63151
|
-
if (t.type ===
|
|
63162
|
+
if (t.type === co.Control)
|
|
63152
63163
|
for (let g = 0; g < t.clips.length; g++) {
|
|
63153
63164
|
const I = t.clips[g];
|
|
63154
63165
|
let o = I.asset.sourceObject;
|
|
@@ -63188,7 +63199,7 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63188
63199
|
continue;
|
|
63189
63200
|
}
|
|
63190
63201
|
}
|
|
63191
|
-
if (I.type ===
|
|
63202
|
+
if (I.type === co.Animation) {
|
|
63192
63203
|
if (I.clips.length <= 0) {
|
|
63193
63204
|
FB && console.warn("Animation track has no clips", I);
|
|
63194
63205
|
continue;
|
|
@@ -63222,7 +63233,7 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63222
63233
|
this._animationTracks.push(B);
|
|
63223
63234
|
}
|
|
63224
63235
|
}
|
|
63225
|
-
} else if (I.type ===
|
|
63236
|
+
} else if (I.type === co.Audio) {
|
|
63226
63237
|
if (I.clips.length <= 0)
|
|
63227
63238
|
continue;
|
|
63228
63239
|
const C = new BQ();
|
|
@@ -63233,7 +63244,7 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63233
63244
|
const a = I.clips[n];
|
|
63234
63245
|
C.addModel(a);
|
|
63235
63246
|
}
|
|
63236
|
-
} else if (I.type ===
|
|
63247
|
+
} else if (I.type === co.Marker) {
|
|
63237
63248
|
const C = new Bf();
|
|
63238
63249
|
C.director = this, C.track = I;
|
|
63239
63250
|
for (const n of I.markers)
|
|
@@ -63246,7 +63257,7 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63246
63257
|
const n = oA.getComponent(this.gameObject, Ul);
|
|
63247
63258
|
n && (C.receivers.push(n), this._signalTracks.push(C));
|
|
63248
63259
|
}
|
|
63249
|
-
} else if (I.type ===
|
|
63260
|
+
} else if (I.type === co.Signal) {
|
|
63250
63261
|
const C = new Bf();
|
|
63251
63262
|
C.director = this, C.track = I;
|
|
63252
63263
|
for (const n of I.markers)
|
|
@@ -63254,7 +63265,7 @@ const FB = sA("debugtimeline"), Kf = class extends UA {
|
|
|
63254
63265
|
for (const n of I.outputs)
|
|
63255
63266
|
C.receivers.push(n);
|
|
63256
63267
|
this._signalTracks.push(C);
|
|
63257
|
-
} else if (I.type ===
|
|
63268
|
+
} else if (I.type === co.Control) {
|
|
63258
63269
|
const C = new uR();
|
|
63259
63270
|
C.director = this, C.track = I;
|
|
63260
63271
|
for (const n of I.clips)
|
|
@@ -64076,7 +64087,7 @@ class iE extends UA {
|
|
|
64076
64087
|
r(this, "state", null);
|
|
64077
64088
|
}
|
|
64078
64089
|
awake() {
|
|
64079
|
-
this.state = oA.getComponentInParent(this.gameObject,
|
|
64090
|
+
this.state = oA.getComponentInParent(this.gameObject, Go);
|
|
64080
64091
|
}
|
|
64081
64092
|
update() {
|
|
64082
64093
|
if (!this.gameObject || !this.gameObject.visible || !this.eyes || !Array.isArray(this.eyes) || this.eyes.length === 0)
|
|
@@ -64961,7 +64972,7 @@ class kR extends aw {
|
|
|
64961
64972
|
rw([
|
|
64962
64973
|
D(qe)
|
|
64963
64974
|
], kR.prototype, "mainTexture", 1);
|
|
64964
|
-
var $tA = Object.defineProperty, AiA = Object.getOwnPropertyDescriptor,
|
|
64975
|
+
var $tA = Object.defineProperty, AiA = Object.getOwnPropertyDescriptor, ZI = (i, A, e, t) => {
|
|
64965
64976
|
for (var g = t > 1 ? void 0 : t ? AiA(A, e) : A, I = i.length - 1, o; I >= 0; I--)
|
|
64966
64977
|
(o = i[I]) && (g = (t ? o(A, e, g) : o(g)) || g);
|
|
64967
64978
|
return t && g && $tA(A, e, g), g;
|
|
@@ -64978,25 +64989,25 @@ class Or {
|
|
|
64978
64989
|
r(this, "selectedColor");
|
|
64979
64990
|
}
|
|
64980
64991
|
}
|
|
64981
|
-
|
|
64992
|
+
ZI([
|
|
64982
64993
|
D()
|
|
64983
64994
|
], Or.prototype, "colorMultiplier", 2);
|
|
64984
|
-
|
|
64995
|
+
ZI([
|
|
64985
64996
|
D(Mt)
|
|
64986
64997
|
], Or.prototype, "disabledColor", 2);
|
|
64987
|
-
|
|
64998
|
+
ZI([
|
|
64988
64999
|
D()
|
|
64989
65000
|
], Or.prototype, "fadeDuration", 2);
|
|
64990
|
-
|
|
65001
|
+
ZI([
|
|
64991
65002
|
D(Mt)
|
|
64992
65003
|
], Or.prototype, "highlightedColor", 2);
|
|
64993
|
-
|
|
65004
|
+
ZI([
|
|
64994
65005
|
D(Mt)
|
|
64995
65006
|
], Or.prototype, "normalColor", 2);
|
|
64996
|
-
|
|
65007
|
+
ZI([
|
|
64997
65008
|
D(Mt)
|
|
64998
65009
|
], Or.prototype, "pressedColor", 2);
|
|
64999
|
-
|
|
65010
|
+
ZI([
|
|
65000
65011
|
D(Mt)
|
|
65001
65012
|
], Or.prototype, "selectedColor", 2);
|
|
65002
65013
|
class Sa extends UA {
|
|
@@ -65108,22 +65119,22 @@ class Sa extends UA {
|
|
|
65108
65119
|
return t ? e.clone().multiply(t) : e.clone();
|
|
65109
65120
|
}
|
|
65110
65121
|
}
|
|
65111
|
-
|
|
65122
|
+
ZI([
|
|
65112
65123
|
D(Kg)
|
|
65113
65124
|
], Sa.prototype, "onClick", 2);
|
|
65114
|
-
|
|
65125
|
+
ZI([
|
|
65115
65126
|
D()
|
|
65116
65127
|
], Sa.prototype, "colors", 2);
|
|
65117
|
-
|
|
65128
|
+
ZI([
|
|
65118
65129
|
D()
|
|
65119
65130
|
], Sa.prototype, "transition", 2);
|
|
65120
|
-
|
|
65131
|
+
ZI([
|
|
65121
65132
|
D()
|
|
65122
65133
|
], Sa.prototype, "animationTriggers", 2);
|
|
65123
|
-
|
|
65134
|
+
ZI([
|
|
65124
65135
|
D(iI)
|
|
65125
65136
|
], Sa.prototype, "animator", 2);
|
|
65126
|
-
|
|
65137
|
+
ZI([
|
|
65127
65138
|
D()
|
|
65128
65139
|
], Sa.prototype, "interactable", 1);
|
|
65129
65140
|
var eiA = Object.defineProperty, tiA = Object.getOwnPropertyDescriptor, Ji = (i, A, e, t) => {
|
|
@@ -65158,7 +65169,7 @@ Ji([
|
|
|
65158
65169
|
Ji([
|
|
65159
65170
|
D()
|
|
65160
65171
|
], Pr.prototype, "bottom", 2);
|
|
65161
|
-
class
|
|
65172
|
+
class XI extends UA {
|
|
65162
65173
|
constructor() {
|
|
65163
65174
|
super(...arguments);
|
|
65164
65175
|
r(this, "_rectTransform", null);
|
|
@@ -65211,35 +65222,35 @@ class ZI extends UA {
|
|
|
65211
65222
|
}
|
|
65212
65223
|
Ji([
|
|
65213
65224
|
D()
|
|
65214
|
-
],
|
|
65225
|
+
], XI.prototype, "childAlignment", 2);
|
|
65215
65226
|
Ji([
|
|
65216
65227
|
D()
|
|
65217
|
-
],
|
|
65228
|
+
], XI.prototype, "reverseArrangement", 2);
|
|
65218
65229
|
Ji([
|
|
65219
65230
|
D()
|
|
65220
|
-
],
|
|
65231
|
+
], XI.prototype, "spacing", 2);
|
|
65221
65232
|
Ji([
|
|
65222
65233
|
D(Pr)
|
|
65223
|
-
],
|
|
65234
|
+
], XI.prototype, "padding", 2);
|
|
65224
65235
|
Ji([
|
|
65225
65236
|
D()
|
|
65226
|
-
],
|
|
65237
|
+
], XI.prototype, "minWidth", 2);
|
|
65227
65238
|
Ji([
|
|
65228
65239
|
D()
|
|
65229
|
-
],
|
|
65240
|
+
], XI.prototype, "minHeight", 2);
|
|
65230
65241
|
Ji([
|
|
65231
65242
|
D()
|
|
65232
|
-
],
|
|
65243
|
+
], XI.prototype, "flexibleHeight", 2);
|
|
65233
65244
|
Ji([
|
|
65234
65245
|
D()
|
|
65235
|
-
],
|
|
65246
|
+
], XI.prototype, "flexibleWidth", 2);
|
|
65236
65247
|
Ji([
|
|
65237
65248
|
D()
|
|
65238
|
-
],
|
|
65249
|
+
], XI.prototype, "preferredHeight", 2);
|
|
65239
65250
|
Ji([
|
|
65240
65251
|
D()
|
|
65241
|
-
],
|
|
65242
|
-
class ka extends
|
|
65252
|
+
], XI.prototype, "preferredWidth", 2);
|
|
65253
|
+
class ka extends XI {
|
|
65243
65254
|
constructor() {
|
|
65244
65255
|
super(...arguments);
|
|
65245
65256
|
r(this, "childControlHeight", !0);
|
|
@@ -65320,7 +65331,7 @@ class mH extends ka {
|
|
|
65320
65331
|
return "x";
|
|
65321
65332
|
}
|
|
65322
65333
|
}
|
|
65323
|
-
class MH extends
|
|
65334
|
+
class MH extends XI {
|
|
65324
65335
|
onCalculateLayout() {
|
|
65325
65336
|
}
|
|
65326
65337
|
}
|
|
@@ -65469,7 +65480,7 @@ const $S = sA("debuguilayout"), UH = class extends XD {
|
|
|
65469
65480
|
for (const t of this._rectTransforms) {
|
|
65470
65481
|
A && t.markDirty();
|
|
65471
65482
|
let g = this._layoutGroups.get(t.gameObject);
|
|
65472
|
-
t.isDirty && !g && (g = t.gameObject.getComponentInParent(
|
|
65483
|
+
t.isDirty && !g && (g = t.gameObject.getComponentInParent(XI)), (t.isDirty || g != null && g.isDirty) && ($S && !e && console.log("CANVAS UPDATE ### " + t.name + " ##################################### " + this.context.time.frame), g == null || g.updateLayout(), t.updateTransform());
|
|
65473
65484
|
}
|
|
65474
65485
|
}
|
|
65475
65486
|
applyRenderSettings() {
|
|
@@ -65535,7 +65546,7 @@ Xs([
|
|
|
65535
65546
|
D()
|
|
65536
65547
|
], bg.prototype, "scaleFactor", 1);
|
|
65537
65548
|
Xs([
|
|
65538
|
-
D(
|
|
65549
|
+
D(Wt)
|
|
65539
65550
|
], bg.prototype, "worldCamera", 2);
|
|
65540
65551
|
Xs([
|
|
65541
65552
|
D()
|
|
@@ -65665,7 +65676,7 @@ const DC = (qu = class extends UA {
|
|
|
65665
65676
|
}
|
|
65666
65677
|
awake() {
|
|
65667
65678
|
if (this.variantMaterial && this.materialToSwitch) {
|
|
65668
|
-
const A = oA.findObjectsOfType(
|
|
65679
|
+
const A = oA.findObjectsOfType($t);
|
|
65669
65680
|
for (const e of A)
|
|
65670
65681
|
for (let t = 0; t < e.sharedMaterials.length; t++) {
|
|
65671
65682
|
const g = e.sharedMaterials[t];
|
|
@@ -65688,7 +65699,7 @@ const DC = (qu = class extends UA {
|
|
|
65688
65699
|
}
|
|
65689
65700
|
}
|
|
65690
65701
|
async beforeCreateDocument(A, e) {
|
|
65691
|
-
this.targetModels = [], DC._materialTriggersPerId = {}, DC.variantSwitchIndex = 0, this.materialToSwitch && await
|
|
65702
|
+
this.targetModels = [], DC._materialTriggersPerId = {}, DC.variantSwitchIndex = 0, this.materialToSwitch && await yo.assignTextureLOD(this.context, this.sourceId, this.materialToSwitch, 0), this.variantMaterial && await yo.assignTextureLOD(this.context, this.sourceId, this.variantMaterial, 0);
|
|
65692
65703
|
}
|
|
65693
65704
|
createBehaviours(A, e, t) {
|
|
65694
65705
|
this._objectsWithThisMaterial.find((I) => I.uuid === e.uuid) && this.targetModels.push(e), this.gameObject.uuid === e.uuid && (this.selfModel = e, this.materialToSwitch && (DC._materialTriggersPerId[this.materialToSwitch.uuid] || (DC._materialTriggersPerId[this.materialToSwitch.uuid] = []), DC._materialTriggersPerId[this.materialToSwitch.uuid].push(this)));
|
|
@@ -66603,25 +66614,25 @@ const zo = (vu = class {
|
|
|
66603
66614
|
return zo._temp.set(16711935), zo._temp.alpha = 1, zo._temp;
|
|
66604
66615
|
}
|
|
66605
66616
|
}, r(vu, "_temp", new Mt(0, 0, 0, 1)), r(vu, "_temp2", new Mt(0, 0, 0, 1)), vu);
|
|
66606
|
-
let
|
|
66617
|
+
let $I = zo;
|
|
66607
66618
|
IA([
|
|
66608
66619
|
D(Mt)
|
|
66609
|
-
],
|
|
66620
|
+
], $I.prototype, "color", 2);
|
|
66610
66621
|
IA([
|
|
66611
66622
|
D(Mt)
|
|
66612
|
-
],
|
|
66623
|
+
], $I.prototype, "colorMin", 2);
|
|
66613
66624
|
IA([
|
|
66614
66625
|
D(Mt)
|
|
66615
|
-
],
|
|
66626
|
+
], $I.prototype, "colorMax", 2);
|
|
66616
66627
|
IA([
|
|
66617
66628
|
D(zr)
|
|
66618
|
-
],
|
|
66629
|
+
], $I.prototype, "gradient", 2);
|
|
66619
66630
|
IA([
|
|
66620
66631
|
D(zr)
|
|
66621
|
-
],
|
|
66632
|
+
], $I.prototype, "gradientMin", 2);
|
|
66622
66633
|
IA([
|
|
66623
66634
|
D(zr)
|
|
66624
|
-
],
|
|
66635
|
+
], $I.prototype, "gradientMax", 2);
|
|
66625
66636
|
var kG = /* @__PURE__ */ ((i) => (i[i.Hierarchy = 0] = "Hierarchy", i[i.Local = 1] = "Local", i[i.Shape = 2] = "Shape", i))(kG || {});
|
|
66626
66637
|
class xg {
|
|
66627
66638
|
constructor() {
|
|
@@ -66673,7 +66684,7 @@ IA([
|
|
|
66673
66684
|
D(Be)
|
|
66674
66685
|
], xg.prototype, "gravityModifier", 2);
|
|
66675
66686
|
IA([
|
|
66676
|
-
D(
|
|
66687
|
+
D($I)
|
|
66677
66688
|
], xg.prototype, "startColor", 2);
|
|
66678
66689
|
IA([
|
|
66679
66690
|
D(Be)
|
|
@@ -66802,7 +66813,7 @@ class hw {
|
|
|
66802
66813
|
}
|
|
66803
66814
|
}
|
|
66804
66815
|
IA([
|
|
66805
|
-
D(
|
|
66816
|
+
D($I)
|
|
66806
66817
|
], hw.prototype, "color", 2);
|
|
66807
66818
|
class jr {
|
|
66808
66819
|
constructor() {
|
|
@@ -67215,10 +67226,10 @@ IA([
|
|
|
67215
67226
|
D()
|
|
67216
67227
|
], Ai.prototype, "attachRibbonToTransform", 2);
|
|
67217
67228
|
IA([
|
|
67218
|
-
D(
|
|
67229
|
+
D($I)
|
|
67219
67230
|
], Ai.prototype, "colorOverLifetime", 2);
|
|
67220
67231
|
IA([
|
|
67221
|
-
D(
|
|
67232
|
+
D($I)
|
|
67222
67233
|
], Ai.prototype, "colorOverTrail", 2);
|
|
67223
67234
|
IA([
|
|
67224
67235
|
D()
|
|
@@ -67731,7 +67742,7 @@ IA([
|
|
|
67731
67742
|
D(tA)
|
|
67732
67743
|
], CE.prototype, "range", 2);
|
|
67733
67744
|
IA([
|
|
67734
|
-
D(
|
|
67745
|
+
D($I)
|
|
67735
67746
|
], CE.prototype, "color", 2);
|
|
67736
67747
|
function WJ(i) {
|
|
67737
67748
|
const A = i.domElement.shadowRoot.querySelector("link[rel='ar']");
|
|
@@ -67753,7 +67764,7 @@ function fiA() {
|
|
|
67753
67764
|
}
|
|
67754
67765
|
const pu = sA("debugusdz");
|
|
67755
67766
|
function DiA(i, A) {
|
|
67756
|
-
const e = [], t = oA.getComponentsInChildren(i, iI), g = oA.getComponentsInChildren(i,
|
|
67767
|
+
const e = [], t = oA.getComponentsInChildren(i, iI), g = oA.getComponentsInChildren(i, Ko);
|
|
67757
67768
|
let I = !1;
|
|
67758
67769
|
const o = new eI("rest", 0.01, []), s = /* @__PURE__ */ new Map(), C = (n, a) => {
|
|
67759
67770
|
if (!I && a.tracks.length > 0 && (I = !0, n.push(o)), a.tracks.length > 0)
|
|
@@ -68360,7 +68371,7 @@ class MR {
|
|
|
68360
68371
|
A.index.needsUpdate = !0;
|
|
68361
68372
|
}
|
|
68362
68373
|
}
|
|
68363
|
-
var miA = Object.defineProperty, MiA = Object.getOwnPropertyDescriptor,
|
|
68374
|
+
var miA = Object.defineProperty, MiA = Object.getOwnPropertyDescriptor, Ao = (i, A, e, t) => {
|
|
68364
68375
|
for (var g = t > 1 ? void 0 : t ? MiA(A, e) : A, I = i.length - 1, o; I >= 0; I--)
|
|
68365
68376
|
(o = i[I]) && (g = (t ? o(A, e, g) : o(g)) || g);
|
|
68366
68377
|
return t && g && miA(A, e, g), g;
|
|
@@ -68374,16 +68385,16 @@ class Xr {
|
|
|
68374
68385
|
r(this, "callToActionURL");
|
|
68375
68386
|
}
|
|
68376
68387
|
}
|
|
68377
|
-
|
|
68388
|
+
Ao([
|
|
68378
68389
|
D()
|
|
68379
68390
|
], Xr.prototype, "callToAction", 2);
|
|
68380
|
-
|
|
68391
|
+
Ao([
|
|
68381
68392
|
D()
|
|
68382
68393
|
], Xr.prototype, "checkoutTitle", 2);
|
|
68383
|
-
|
|
68394
|
+
Ao([
|
|
68384
68395
|
D()
|
|
68385
68396
|
], Xr.prototype, "checkoutSubtitle", 2);
|
|
68386
|
-
|
|
68397
|
+
Ao([
|
|
68387
68398
|
D()
|
|
68388
68399
|
], Xr.prototype, "callToActionURL", 2);
|
|
68389
68400
|
class Lo extends UA {
|
|
@@ -68446,7 +68457,7 @@ class Lo extends UA {
|
|
|
68446
68457
|
console.warn("No object to export", this);
|
|
68447
68458
|
return;
|
|
68448
68459
|
}
|
|
68449
|
-
const t = oA.getComponentsInChildren(this.objectToExport,
|
|
68460
|
+
const t = oA.getComponentsInChildren(this.objectToExport, $t), g = new Array();
|
|
68450
68461
|
for (const h of t)
|
|
68451
68462
|
for (const p of h.sharedMaterials)
|
|
68452
68463
|
if (p) {
|
|
@@ -68538,31 +68549,31 @@ class Lo extends UA {
|
|
|
68538
68549
|
bi && console.log("AR Session Root scale", I, g), g.matrix.makeScale(I, I, I), e.invertForward && g.matrix.multiply(new NA().makeRotationY(Math.PI));
|
|
68539
68550
|
}
|
|
68540
68551
|
}
|
|
68541
|
-
|
|
68552
|
+
Ao([
|
|
68542
68553
|
D(FA)
|
|
68543
68554
|
], Lo.prototype, "objectToExport", 2);
|
|
68544
|
-
|
|
68555
|
+
Ao([
|
|
68545
68556
|
D()
|
|
68546
68557
|
], Lo.prototype, "autoExportAnimations", 2);
|
|
68547
|
-
|
|
68558
|
+
Ao([
|
|
68548
68559
|
D()
|
|
68549
68560
|
], Lo.prototype, "exportFileName", 2);
|
|
68550
|
-
|
|
68561
|
+
Ao([
|
|
68551
68562
|
D(URL)
|
|
68552
68563
|
], Lo.prototype, "customUsdzFile", 2);
|
|
68553
|
-
|
|
68564
|
+
Ao([
|
|
68554
68565
|
D(Xr)
|
|
68555
68566
|
], Lo.prototype, "customBranding", 2);
|
|
68556
|
-
|
|
68567
|
+
Ao([
|
|
68557
68568
|
D()
|
|
68558
68569
|
], Lo.prototype, "anchoringType", 2);
|
|
68559
|
-
|
|
68570
|
+
Ao([
|
|
68560
68571
|
D()
|
|
68561
68572
|
], Lo.prototype, "planeAnchoringAlignment", 2);
|
|
68562
|
-
|
|
68573
|
+
Ao([
|
|
68563
68574
|
D()
|
|
68564
68575
|
], Lo.prototype, "interactive", 2);
|
|
68565
|
-
|
|
68576
|
+
Ao([
|
|
68566
68577
|
D()
|
|
68567
68578
|
], Lo.prototype, "allowCreateQuicklookButton", 2);
|
|
68568
68579
|
const VJ = sA("debugdeletable");
|
|
@@ -68833,9 +68844,9 @@ const WU = class {
|
|
|
68833
68844
|
r(this, "_selected", null);
|
|
68834
68845
|
r(this, "_context", null);
|
|
68835
68846
|
r(this, "_camera");
|
|
68836
|
-
r(this, "_cameraPlane", new
|
|
68847
|
+
r(this, "_cameraPlane", new ko());
|
|
68837
68848
|
r(this, "_hasGroundPlane", !1);
|
|
68838
|
-
r(this, "_groundPlane", new
|
|
68849
|
+
r(this, "_groundPlane", new ko());
|
|
68839
68850
|
r(this, "_groundOffset", new y());
|
|
68840
68851
|
r(this, "_groundOffsetFactor", 0);
|
|
68841
68852
|
r(this, "_groundDistance", 0);
|
|
@@ -68854,7 +68865,7 @@ const WU = class {
|
|
|
68854
68865
|
this._camera = A;
|
|
68855
68866
|
const e = new hi(WU.geometry), t = e.material;
|
|
68856
68867
|
t.color = new SA(0.4, 0.4, 0.4), e.layers.set(2), e.name = "line", e.scale.y = 1, this._groundLine = e;
|
|
68857
|
-
const g = new
|
|
68868
|
+
const g = new Jo(0.5, 22, 22), I = new Et({ color: t.color }), o = new wA(g, I);
|
|
68858
68869
|
o.visible = !1, o.layers.set(2), this._groundMarker = o;
|
|
68859
68870
|
}
|
|
68860
68871
|
get hasSelected() {
|
|
@@ -69556,7 +69567,7 @@ class YH extends UA {
|
|
|
69556
69567
|
}
|
|
69557
69568
|
onEnable() {
|
|
69558
69569
|
var t;
|
|
69559
|
-
const e = (t = oA.getComponent(this.gameObject,
|
|
69570
|
+
const e = (t = oA.getComponent(this.gameObject, Wt)) == null ? void 0 : t.cam;
|
|
69560
69571
|
if (!e) {
|
|
69561
69572
|
console.warn("FlyControls: Requires a Camera component on the same object as this component.");
|
|
69562
69573
|
return;
|
|
@@ -69762,9 +69773,9 @@ TI[fQ] = At.NEAREST_MIPMAP_NEAREST;
|
|
|
69762
69773
|
TI[ur] = At.NEAREST_MIPMAP_LINEAR;
|
|
69763
69774
|
TI[Le] = At.LINEAR;
|
|
69764
69775
|
TI[gl] = At.LINEAR_MIPMAP_NEAREST;
|
|
69765
|
-
TI[
|
|
69776
|
+
TI[No] = At.LINEAR_MIPMAP_LINEAR;
|
|
69766
69777
|
TI[ig] = At.CLAMP_TO_EDGE;
|
|
69767
|
-
TI[
|
|
69778
|
+
TI[Fo] = At.REPEAT;
|
|
69768
69779
|
TI[Gr] = At.MIRRORED_REPEAT;
|
|
69769
69780
|
const jJ = {
|
|
69770
69781
|
scale: "scale",
|
|
@@ -70910,7 +70921,7 @@ class bn extends UA {
|
|
|
70910
70921
|
animations: bn.collectAnimations(e)
|
|
70911
70922
|
}, I = new FA();
|
|
70912
70923
|
t != null && t.pivot && I.position.sub(t.pivot), I0 && console.log("EXPORT", e), e.forEach((C) => {
|
|
70913
|
-
C && (I.children.push(C), C.matrixAutoUpdate = !1, C.matrix.copy(C.matrixWorld), oA.getComponentsInChildren(C,
|
|
70924
|
+
C && (I.children.push(C), C.matrixAutoUpdate = !1, C.matrix.copy(C.matrixWorld), oA.getComponentsInChildren(C, $t).forEach((n) => {
|
|
70914
70925
|
oA.isActiveInHierarchy(n.gameObject) && n.setInstancingEnabled(!1);
|
|
70915
70926
|
}));
|
|
70916
70927
|
});
|
|
@@ -70939,7 +70950,7 @@ class bn extends UA {
|
|
|
70939
70950
|
});
|
|
70940
70951
|
function s() {
|
|
70941
70952
|
e.forEach((C) => {
|
|
70942
|
-
C && (C.matrixAutoUpdate = !0, oA.getComponentsInChildren(C,
|
|
70953
|
+
C && (C.matrixAutoUpdate = !0, oA.getComponentsInChildren(C, $t).forEach((n) => {
|
|
70943
70954
|
oA.isActiveInHierarchy(n.gameObject) && n.setInstancingEnabled(!1);
|
|
70944
70955
|
}));
|
|
70945
70956
|
});
|
|
@@ -71403,7 +71414,7 @@ function o0(i) {
|
|
|
71403
71414
|
return i * Math.PI / 180;
|
|
71404
71415
|
}
|
|
71405
71416
|
const eq = 300, mn = sA("debuglights");
|
|
71406
|
-
class
|
|
71417
|
+
class eo extends UA {
|
|
71407
71418
|
constructor() {
|
|
71408
71419
|
super(...arguments);
|
|
71409
71420
|
r(this, "type", 0);
|
|
@@ -71606,37 +71617,37 @@ class Ao extends UA {
|
|
|
71606
71617
|
e.add(e.target), e.target.position.set(0, 0, -1);
|
|
71607
71618
|
}
|
|
71608
71619
|
}
|
|
71609
|
-
r(
|
|
71620
|
+
r(eo, "allowChangingRendererShadowMapType", !0);
|
|
71610
71621
|
AC([
|
|
71611
71622
|
D()
|
|
71612
|
-
],
|
|
71623
|
+
], eo.prototype, "type", 2);
|
|
71613
71624
|
AC([
|
|
71614
71625
|
D(SA)
|
|
71615
|
-
],
|
|
71626
|
+
], eo.prototype, "color", 1);
|
|
71616
71627
|
AC([
|
|
71617
71628
|
D()
|
|
71618
|
-
],
|
|
71629
|
+
], eo.prototype, "shadowNearPlane", 1);
|
|
71619
71630
|
AC([
|
|
71620
71631
|
D()
|
|
71621
|
-
],
|
|
71632
|
+
], eo.prototype, "shadowBias", 1);
|
|
71622
71633
|
AC([
|
|
71623
71634
|
D()
|
|
71624
|
-
],
|
|
71635
|
+
], eo.prototype, "shadowNormalBias", 1);
|
|
71625
71636
|
AC([
|
|
71626
71637
|
D()
|
|
71627
|
-
],
|
|
71638
|
+
], eo.prototype, "shadows", 1);
|
|
71628
71639
|
AC([
|
|
71629
71640
|
D()
|
|
71630
|
-
],
|
|
71641
|
+
], eo.prototype, "lightmapBakeType", 2);
|
|
71631
71642
|
AC([
|
|
71632
71643
|
D()
|
|
71633
|
-
],
|
|
71644
|
+
], eo.prototype, "intensity", 1);
|
|
71634
71645
|
AC([
|
|
71635
71646
|
D()
|
|
71636
|
-
],
|
|
71647
|
+
], eo.prototype, "shadowDistance", 1);
|
|
71637
71648
|
AC([
|
|
71638
71649
|
D()
|
|
71639
|
-
],
|
|
71650
|
+
], eo.prototype, "shadowResolution", 1);
|
|
71640
71651
|
new y(0, 0, 0);
|
|
71641
71652
|
var qgA = Object.defineProperty, vgA = Object.getOwnPropertyDescriptor, Ol = (i, A, e, t) => {
|
|
71642
71653
|
for (var g = t > 1 ? void 0 : t ? vgA(A, e) : A, I = i.length - 1, o; I >= 0; I--)
|
|
@@ -71658,7 +71669,7 @@ Ol([
|
|
|
71658
71669
|
D()
|
|
71659
71670
|
], QE.prototype, "distance", 2);
|
|
71660
71671
|
Ol([
|
|
71661
|
-
D(
|
|
71672
|
+
D($t)
|
|
71662
71673
|
], QE.prototype, "renderers", 2);
|
|
71663
71674
|
class LgA {
|
|
71664
71675
|
constructor(A) {
|
|
@@ -71905,7 +71916,7 @@ class cE extends UA {
|
|
|
71905
71916
|
this.offset.copy(this.positionOffset);
|
|
71906
71917
|
const g = this.offset.length();
|
|
71907
71918
|
if (this.referenceSpace && this.offset.transformDirection(this.referenceSpace.matrixWorld).multiplyScalar(g), e.add(this.offset), this.levelPosition && this.referenceSpace) {
|
|
71908
|
-
const C = new
|
|
71919
|
+
const C = new ko(this.gameObject.up, 0), n = ke(this.referenceSpace);
|
|
71909
71920
|
C.setFromNormalAndCoplanarPoint(this.gameObject.up, n);
|
|
71910
71921
|
const a = new y(0, 0, 0);
|
|
71911
71922
|
C.projectPoint(e, a), e.copy(a);
|
|
@@ -76425,7 +76436,7 @@ const bG = (K0 = class extends UA {
|
|
|
76425
76436
|
};
|
|
76426
76437
|
}
|
|
76427
76438
|
const e = A === !0 && this.trailMaterial ? this.trailMaterial : this.particleMaterial;
|
|
76428
|
-
return e && !coA && e._didRequestTextureLOD === void 0 && (e._didRequestTextureLOD = 0, hoA && console.log("Load material LOD", e.name),
|
|
76439
|
+
return e && !coA && e._didRequestTextureLOD === void 0 && (e._didRequestTextureLOD = 0, hoA && console.log("Load material LOD", e.name), yo.assignTextureLOD(this.context, this.sourceId, e)), e;
|
|
76429
76440
|
}
|
|
76430
76441
|
getMesh(A) {
|
|
76431
76442
|
let e = null;
|
|
@@ -77631,7 +77642,7 @@ class na extends UA {
|
|
|
77631
77642
|
}
|
|
77632
77643
|
onDisable() {
|
|
77633
77644
|
var e;
|
|
77634
|
-
this.context.scene.environment === this._prevLoadedEnvironment && (this.context.scene.environment = this._prevEnvironment,
|
|
77645
|
+
this.context.scene.environment === this._prevLoadedEnvironment && (this.context.scene.environment = this._prevEnvironment, Wt.backgroundShouldBeTransparent(this.context) || (this.context.scene.background = this._prevBackground), this._prevLoadedEnvironment = void 0), this.unregisterDropEvents(), (e = this.context.mainCameraComponent) == null || e.applyClearFlags();
|
|
77635
77646
|
}
|
|
77636
77647
|
urlChangedSyncField() {
|
|
77637
77648
|
this.allowNetworking && this.setSkybox(this.url);
|
|
@@ -77671,7 +77682,7 @@ class na extends UA {
|
|
|
77671
77682
|
applySkybox() {
|
|
77672
77683
|
var t;
|
|
77673
77684
|
const e = this._prevLoadedEnvironment;
|
|
77674
|
-
e && (e.mapping = pQ, e.needsUpdate = !0, this.context.scene.background !== e && (this._prevBackground = this.context.scene.background), this.context.scene.environment !== e && (this._prevEnvironment = this.context.scene.environment), Ns && console.log("Set remote skybox", this.url), this.environment && (this.context.scene.environment = e), this.background &&
|
|
77685
|
+
e && (e.mapping = pQ, e.needsUpdate = !0, this.context.scene.background !== e && (this._prevBackground = this.context.scene.background), this.context.scene.environment !== e && (this._prevEnvironment = this.context.scene.environment), Ns && console.log("Set remote skybox", this.url), this.environment && (this.context.scene.environment = e), this.background && !Wt.backgroundShouldBeTransparent(this.context) && (this.context.scene.background = e), ((t = this.context.mainCameraComponent) == null ? void 0 : t.backgroundBlurriness) !== void 0 && (this.context.scene.backgroundBlurriness = this.context.mainCameraComponent.backgroundBlurriness));
|
|
77675
77686
|
}
|
|
77676
77687
|
registerDropEvents() {
|
|
77677
77688
|
this.dragOverEvent || (this.dragOverEvent = (e) => {
|
|
@@ -77720,7 +77731,7 @@ var HoA = Object.defineProperty, _oA = Object.getOwnPropertyDescriptor, hs = (i,
|
|
|
77720
77731
|
const $o = sA("debugsceneswitcher"), Qp = "scene";
|
|
77721
77732
|
XR(Qp);
|
|
77722
77733
|
const Mn = Promise.resolve(!1);
|
|
77723
|
-
class
|
|
77734
|
+
class to extends UA {
|
|
77724
77735
|
constructor() {
|
|
77725
77736
|
super(...arguments);
|
|
77726
77737
|
r(this, "scenes");
|
|
@@ -77931,37 +77942,37 @@ class eo extends UA {
|
|
|
77931
77942
|
}
|
|
77932
77943
|
hs([
|
|
77933
77944
|
D(Ig)
|
|
77934
|
-
],
|
|
77945
|
+
], to.prototype, "scenes", 2);
|
|
77935
77946
|
hs([
|
|
77936
77947
|
D()
|
|
77937
|
-
],
|
|
77948
|
+
], to.prototype, "queryParameterName", 2);
|
|
77938
77949
|
hs([
|
|
77939
77950
|
D()
|
|
77940
|
-
],
|
|
77951
|
+
], to.prototype, "useSceneName", 2);
|
|
77941
77952
|
hs([
|
|
77942
77953
|
D()
|
|
77943
|
-
],
|
|
77954
|
+
], to.prototype, "clamp", 2);
|
|
77944
77955
|
hs([
|
|
77945
77956
|
D()
|
|
77946
|
-
],
|
|
77957
|
+
], to.prototype, "useHistory", 2);
|
|
77947
77958
|
hs([
|
|
77948
77959
|
D()
|
|
77949
|
-
],
|
|
77960
|
+
], to.prototype, "useKeyboard", 2);
|
|
77950
77961
|
hs([
|
|
77951
77962
|
D()
|
|
77952
|
-
],
|
|
77963
|
+
], to.prototype, "useSwipe", 2);
|
|
77953
77964
|
hs([
|
|
77954
77965
|
D()
|
|
77955
|
-
],
|
|
77966
|
+
], to.prototype, "useSceneLighting", 2);
|
|
77956
77967
|
hs([
|
|
77957
77968
|
D()
|
|
77958
|
-
],
|
|
77969
|
+
], to.prototype, "preloadNext", 2);
|
|
77959
77970
|
hs([
|
|
77960
77971
|
D()
|
|
77961
|
-
],
|
|
77972
|
+
], to.prototype, "preloadPrevious", 2);
|
|
77962
77973
|
hs([
|
|
77963
77974
|
D()
|
|
77964
|
-
],
|
|
77975
|
+
], to.prototype, "preloadConcurrent", 2);
|
|
77965
77976
|
function Lq(i) {
|
|
77966
77977
|
const A = i.split("/").pop(), e = A == null ? void 0 : A.split(".").shift();
|
|
77967
77978
|
return e != null && e.length ? e : i;
|
|
@@ -78055,7 +78066,7 @@ class zoA {
|
|
|
78055
78066
|
t = new wA(o, s);
|
|
78056
78067
|
break;
|
|
78057
78068
|
case 2:
|
|
78058
|
-
const C = new
|
|
78069
|
+
const C = new Jo(0.5, 16, 16), n = (e == null ? void 0 : e.material) ?? new ss({ color: 14540253 });
|
|
78059
78070
|
t = new wA(C, n);
|
|
78060
78071
|
break;
|
|
78061
78072
|
}
|
|
@@ -78250,7 +78261,7 @@ class Yg extends UA {
|
|
|
78250
78261
|
let t = this.gameObject;
|
|
78251
78262
|
switch (this.renderMode) {
|
|
78252
78263
|
case 3:
|
|
78253
|
-
t = (I = this.targetMaterialRenderer) == null ? void 0 : I.gameObject, t || (t = (o = oA.getComponent(this.gameObject,
|
|
78264
|
+
t = (I = this.targetMaterialRenderer) == null ? void 0 : I.gameObject, t || (t = (o = oA.getComponent(this.gameObject, $t)) == null ? void 0 : o.gameObject);
|
|
78254
78265
|
break;
|
|
78255
78266
|
case 2:
|
|
78256
78267
|
console.error("VideoPlayer renderTexture not implemented yet. Please use material override instead");
|
|
@@ -78350,7 +78361,7 @@ xo([
|
|
|
78350
78361
|
D()
|
|
78351
78362
|
], Yg.prototype, "targetMaterialProperty", 2);
|
|
78352
78363
|
xo([
|
|
78353
|
-
D(
|
|
78364
|
+
D($t)
|
|
78354
78365
|
], Yg.prototype, "targetMaterialRenderer", 2);
|
|
78355
78366
|
xo([
|
|
78356
78367
|
D(qe)
|
|
@@ -80137,7 +80148,7 @@ class csA extends Lg {
|
|
|
80137
80148
|
minFilter: Le,
|
|
80138
80149
|
magFilter: Le,
|
|
80139
80150
|
depthBuffer: !1
|
|
80140
|
-
}), this.bluenoise = new
|
|
80151
|
+
}), this.bluenoise = new Uo(EsA, 128, 128), this.bluenoise.colorSpace = uI, this.bluenoise.wrapS = Fo, this.bluenoise.wrapT = Fo, this.bluenoise.minFilter = He, this.bluenoise.magFilter = He, this.bluenoise.needsUpdate = !0, this.lastTime = 0, this.needsDepthTexture = !0, this.needsSwap = !0, this._r = new tA(), this._c = new SA();
|
|
80141
80152
|
}
|
|
80142
80153
|
configureHalfResTargets() {
|
|
80143
80154
|
this.configuration.halfRes ? (this.depthDownsampleTarget = /*new THREE.WebGLRenderTarget(this.width / 2, this.height / 2, {
|
|
@@ -80318,7 +80329,7 @@ class eC extends oI {
|
|
|
80318
80329
|
}
|
|
80319
80330
|
}
|
|
80320
80331
|
AB([
|
|
80321
|
-
|
|
80332
|
+
qo(),
|
|
80322
80333
|
D()
|
|
80323
80334
|
], eC.prototype, "gammaCorrection", 2);
|
|
80324
80335
|
AB([
|
|
@@ -80331,14 +80342,14 @@ AB([
|
|
|
80331
80342
|
D(Ne)
|
|
80332
80343
|
], eC.prototype, "aoRadius", 2);
|
|
80333
80344
|
AB([
|
|
80334
|
-
|
|
80345
|
+
qo(),
|
|
80335
80346
|
D()
|
|
80336
80347
|
], eC.prototype, "screenspaceRadius", 2);
|
|
80337
80348
|
AB([
|
|
80338
80349
|
D(Ne)
|
|
80339
80350
|
], eC.prototype, "color", 2);
|
|
80340
80351
|
AB([
|
|
80341
|
-
|
|
80352
|
+
qo(),
|
|
80342
80353
|
D()
|
|
80343
80354
|
], eC.prototype, "quality", 2);
|
|
80344
80355
|
Qs("ScreenSpaceAmbientOcclusionN8", eC);
|
|
@@ -80372,7 +80383,7 @@ class Kw extends UA {
|
|
|
80372
80383
|
// Works even better with an additional black-ish gradient to darken parts of the AR scene
|
|
80373
80384
|
// so that lights become more visible on bright surfaces.
|
|
80374
80385
|
applyLightBlendMaterial() {
|
|
80375
|
-
const e = oA.getComponent(this.gameObject,
|
|
80386
|
+
const e = oA.getComponent(this.gameObject, $t);
|
|
80376
80387
|
if (e) {
|
|
80377
80388
|
const t = e.sharedMaterial;
|
|
80378
80389
|
t.blending = lQ, this.applyMaterialOptions(t), t.onBeforeCompile = (g) => {
|
|
@@ -80398,7 +80409,7 @@ class Kw extends UA {
|
|
|
80398
80409
|
// works great for Directional Lights.
|
|
80399
80410
|
applyShadowMaterial() {
|
|
80400
80411
|
var t;
|
|
80401
|
-
const e = oA.getComponent(this.gameObject,
|
|
80412
|
+
const e = oA.getComponent(this.gameObject, $t);
|
|
80402
80413
|
if (e)
|
|
80403
80414
|
if (((t = e.sharedMaterial) == null ? void 0 : t.type) !== "ShadowMaterial") {
|
|
80404
80415
|
const g = new Fm();
|
|
@@ -80409,7 +80420,7 @@ class Kw extends UA {
|
|
|
80409
80420
|
}
|
|
80410
80421
|
}
|
|
80411
80422
|
applyOccluderMaterial() {
|
|
80412
|
-
const e = oA.getComponent(this.gameObject,
|
|
80423
|
+
const e = oA.getComponent(this.gameObject, $t);
|
|
80413
80424
|
if (e) {
|
|
80414
80425
|
const t = e.sharedMaterial;
|
|
80415
80426
|
t.depthWrite = !0, t.stencilWrite = !0, t.colorWrite = !1, this.gameObject.renderOrder = -100;
|
|
@@ -80886,7 +80897,7 @@ class $R extends UA {
|
|
|
80886
80897
|
return this.isSpectating && ((e = this.target) == null ? void 0 : e.currentObject) === ((t = this.context.players.getPlayerView(this.localId)) == null ? void 0 : t.currentObject);
|
|
80887
80898
|
}
|
|
80888
80899
|
awake() {
|
|
80889
|
-
if (this._debug = new KsA(this.context, this), this._networking = new vsA(this.context, this), this._networking.awake(), oA.setActive(this.gameObject, !1), this.cam = oA.getComponent(this.gameObject,
|
|
80900
|
+
if (this._debug = new KsA(this.context, this), this._networking = new vsA(this.context, this), this._networking.awake(), oA.setActive(this.gameObject, !1), this.cam = oA.getComponent(this.gameObject, Wt), !this.cam) {
|
|
80890
80901
|
console.warn("SpectatorCamera: Spectator camera needs camera component on the same object.", this);
|
|
80891
80902
|
return;
|
|
80892
80903
|
}
|
|
@@ -82075,7 +82086,7 @@ class oCA extends FA {
|
|
|
82075
82086
|
]
|
|
82076
82087
|
}, m = {
|
|
82077
82088
|
XYZE: [
|
|
82078
|
-
[new wA(new
|
|
82089
|
+
[new wA(new Jo(0.25, 10, 8), t)]
|
|
82079
82090
|
],
|
|
82080
82091
|
X: [
|
|
82081
82092
|
[new wA(new mC(0.5, 0.1, 4, 24), t), [0, 0, 0], [0, -Math.PI / 2, -Math.PI / 2]]
|
|
@@ -83053,9 +83064,9 @@ const kCA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
83053
83064
|
__proto__: null,
|
|
83054
83065
|
ActionBuilder: dt,
|
|
83055
83066
|
ActionCollection: bT,
|
|
83056
|
-
ActionModel:
|
|
83067
|
+
ActionModel: So,
|
|
83057
83068
|
AlignmentConstraint: TD,
|
|
83058
|
-
Animation:
|
|
83069
|
+
Animation: Ko,
|
|
83059
83070
|
AnimationCurve: ZQ,
|
|
83060
83071
|
AnimationExtension: NM,
|
|
83061
83072
|
AnimationTrackHandler: dR,
|
|
@@ -83088,7 +83099,7 @@ const kCA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
83088
83099
|
BoxHelperComponent: ts,
|
|
83089
83100
|
Button: Sa,
|
|
83090
83101
|
CallInfo: Uh,
|
|
83091
|
-
Camera:
|
|
83102
|
+
Camera: Wt,
|
|
83092
83103
|
Canvas: bg,
|
|
83093
83104
|
CanvasGroup: Kr,
|
|
83094
83105
|
CapsuleCollider: Nr,
|
|
@@ -83140,7 +83151,7 @@ const kCA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
83140
83151
|
Interactable: Dl,
|
|
83141
83152
|
LODGroup: ww,
|
|
83142
83153
|
LODModel: QE,
|
|
83143
|
-
Light:
|
|
83154
|
+
Light: eo,
|
|
83144
83155
|
LimitVelocityOverLifetimeModule: ji,
|
|
83145
83156
|
LogStats: OH,
|
|
83146
83157
|
LookAt: EE,
|
|
@@ -83150,7 +83161,7 @@ const kCA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
83150
83161
|
MeshCollider: nw,
|
|
83151
83162
|
MeshRenderer: MM,
|
|
83152
83163
|
MinMaxCurve: Be,
|
|
83153
|
-
MinMaxGradient:
|
|
83164
|
+
MinMaxGradient: $I,
|
|
83154
83165
|
NestedGltf: YR,
|
|
83155
83166
|
Networking: nE,
|
|
83156
83167
|
NoiseModule: Dt,
|
|
@@ -83181,12 +83192,12 @@ const kCA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
83181
83192
|
ReflectionProbe: pl,
|
|
83182
83193
|
RegisteredAnimationInfo: FM,
|
|
83183
83194
|
RemoteSkybox: na,
|
|
83184
|
-
Renderer:
|
|
83195
|
+
Renderer: $t,
|
|
83185
83196
|
RendererLightmap: $p,
|
|
83186
83197
|
Rigidbody: si,
|
|
83187
83198
|
RotationBySpeedModule: bo,
|
|
83188
83199
|
RotationOverLifetimeModule: cs,
|
|
83189
|
-
SceneSwitcher:
|
|
83200
|
+
SceneSwitcher: to,
|
|
83190
83201
|
ScreenCapture: Nw,
|
|
83191
83202
|
ScreenSpaceAmbientOcclusion: Ma,
|
|
83192
83203
|
ScreenSpaceAmbientOcclusionN8: eC,
|
|
@@ -83258,7 +83269,7 @@ const kCA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
83258
83269
|
WebXRPlaneTracking: xw,
|
|
83259
83270
|
WebXRSync: af,
|
|
83260
83271
|
WebXRTrackedImage: Ln,
|
|
83261
|
-
XRFlag:
|
|
83272
|
+
XRFlag: Go,
|
|
83262
83273
|
XRGrabModel: IU,
|
|
83263
83274
|
XRGrabRendering: h_,
|
|
83264
83275
|
XRRig: hR,
|
|
@@ -83420,9 +83431,9 @@ class RCA extends UA {
|
|
|
83420
83431
|
z.add("__Ignore", l_);
|
|
83421
83432
|
z.add("ActionBuilder", dt);
|
|
83422
83433
|
z.add("ActionCollection", bT);
|
|
83423
|
-
z.add("ActionModel",
|
|
83434
|
+
z.add("ActionModel", So);
|
|
83424
83435
|
z.add("AlignmentConstraint", TD);
|
|
83425
|
-
z.add("Animation",
|
|
83436
|
+
z.add("Animation", Ko);
|
|
83426
83437
|
z.add("AnimationCurve", ZQ);
|
|
83427
83438
|
z.add("AnimationExtension", NM);
|
|
83428
83439
|
z.add("AnimationTrackHandler", dR);
|
|
@@ -83455,7 +83466,7 @@ z.add("BoxGizmo", eE);
|
|
|
83455
83466
|
z.add("BoxHelperComponent", ts);
|
|
83456
83467
|
z.add("Button", Sa);
|
|
83457
83468
|
z.add("CallInfo", Uh);
|
|
83458
|
-
z.add("Camera",
|
|
83469
|
+
z.add("Camera", Wt);
|
|
83459
83470
|
z.add("Canvas", bg);
|
|
83460
83471
|
z.add("CanvasGroup", Kr);
|
|
83461
83472
|
z.add("CapsuleCollider", Nr);
|
|
@@ -83505,7 +83516,7 @@ z.add("Image", ql);
|
|
|
83505
83516
|
z.add("InheritVelocityModule", Zr);
|
|
83506
83517
|
z.add("InputField", BE);
|
|
83507
83518
|
z.add("Interactable", Dl);
|
|
83508
|
-
z.add("Light",
|
|
83519
|
+
z.add("Light", eo);
|
|
83509
83520
|
z.add("LimitVelocityOverLifetimeModule", ji);
|
|
83510
83521
|
z.add("LODGroup", ww);
|
|
83511
83522
|
z.add("LODModel", QE);
|
|
@@ -83517,7 +83528,7 @@ z.add("MaskableGraphic", aw);
|
|
|
83517
83528
|
z.add("MeshCollider", nw);
|
|
83518
83529
|
z.add("MeshRenderer", MM);
|
|
83519
83530
|
z.add("MinMaxCurve", Be);
|
|
83520
|
-
z.add("MinMaxGradient",
|
|
83531
|
+
z.add("MinMaxGradient", $I);
|
|
83521
83532
|
z.add("NestedGltf", YR);
|
|
83522
83533
|
z.add("Networking", nE);
|
|
83523
83534
|
z.add("NoiseModule", Dt);
|
|
@@ -83550,13 +83561,13 @@ z.add("RectTransform", SI);
|
|
|
83550
83561
|
z.add("ReflectionProbe", pl);
|
|
83551
83562
|
z.add("RegisteredAnimationInfo", FM);
|
|
83552
83563
|
z.add("RemoteSkybox", na);
|
|
83553
|
-
z.add("Renderer",
|
|
83564
|
+
z.add("Renderer", $t);
|
|
83554
83565
|
z.add("RendererLightmap", $p);
|
|
83555
83566
|
z.add("RGBAColor", Mt);
|
|
83556
83567
|
z.add("Rigidbody", si);
|
|
83557
83568
|
z.add("RotationBySpeedModule", bo);
|
|
83558
83569
|
z.add("RotationOverLifetimeModule", cs);
|
|
83559
|
-
z.add("SceneSwitcher",
|
|
83570
|
+
z.add("SceneSwitcher", to);
|
|
83560
83571
|
z.add("ScreenCapture", Nw);
|
|
83561
83572
|
z.add("ScreenSpaceAmbientOcclusion", Ma);
|
|
83562
83573
|
z.add("ScreenSpaceAmbientOcclusionN8", eC);
|
|
@@ -83628,7 +83639,7 @@ z.add("WebXRImageTrackingModel", Ua);
|
|
|
83628
83639
|
z.add("WebXRPlaneTracking", xw);
|
|
83629
83640
|
z.add("WebXRSync", af);
|
|
83630
83641
|
z.add("WebXRTrackedImage", Ln);
|
|
83631
|
-
z.add("XRFlag",
|
|
83642
|
+
z.add("XRFlag", Go);
|
|
83632
83643
|
z.add("XRGrabModel", IU);
|
|
83633
83644
|
z.add("XRGrabRendering", h_);
|
|
83634
83645
|
z.add("XRRig", hR);
|
|
@@ -84972,9 +84983,9 @@ class Vh {
|
|
|
84972
84983
|
U.raweventqueue_clear(this.ptr);
|
|
84973
84984
|
}
|
|
84974
84985
|
}
|
|
84975
|
-
class
|
|
84986
|
+
class Mo {
|
|
84976
84987
|
static __wrap(A) {
|
|
84977
|
-
const e = Object.create(
|
|
84988
|
+
const e = Object.create(Mo.prototype);
|
|
84978
84989
|
return e.ptr = A, e;
|
|
84979
84990
|
}
|
|
84980
84991
|
__destroy_into_raw() {
|
|
@@ -84988,22 +84999,22 @@ class mo {
|
|
|
84988
84999
|
static spherical(A, e) {
|
|
84989
85000
|
iA(A, BA), iA(e, BA);
|
|
84990
85001
|
const t = U.rawgenericjoint_spherical(A.ptr, e.ptr);
|
|
84991
|
-
return
|
|
85002
|
+
return Mo.__wrap(t);
|
|
84992
85003
|
}
|
|
84993
85004
|
static prismatic(A, e, t, g, I, o) {
|
|
84994
85005
|
iA(A, BA), iA(e, BA), iA(t, BA);
|
|
84995
85006
|
const s = U.rawgenericjoint_prismatic(A.ptr, e.ptr, t.ptr, g, I, o);
|
|
84996
|
-
return s === 0 ? void 0 :
|
|
85007
|
+
return s === 0 ? void 0 : Mo.__wrap(s);
|
|
84997
85008
|
}
|
|
84998
85009
|
static fixed(A, e, t, g) {
|
|
84999
85010
|
iA(A, BA), iA(e, je), iA(t, BA), iA(g, je);
|
|
85000
85011
|
const I = U.rawgenericjoint_fixed(A.ptr, e.ptr, t.ptr, g.ptr);
|
|
85001
|
-
return
|
|
85012
|
+
return Mo.__wrap(I);
|
|
85002
85013
|
}
|
|
85003
85014
|
static revolute(A, e, t) {
|
|
85004
85015
|
iA(A, BA), iA(e, BA), iA(t, BA);
|
|
85005
85016
|
const g = U.rawgenericjoint_revolute(A.ptr, e.ptr, t.ptr);
|
|
85006
|
-
return g === 0 ? void 0 :
|
|
85017
|
+
return g === 0 ? void 0 : Mo.__wrap(g);
|
|
85007
85018
|
}
|
|
85008
85019
|
}
|
|
85009
85020
|
class Ps {
|
|
@@ -85085,7 +85096,7 @@ class Ps {
|
|
|
85085
85096
|
return Ps.__wrap(A);
|
|
85086
85097
|
}
|
|
85087
85098
|
createJoint(A, e, t, g) {
|
|
85088
|
-
return iA(A,
|
|
85099
|
+
return iA(A, Mo), U.rawimpulsejointset_createJoint(this.ptr, A.ptr, e, t, g);
|
|
85089
85100
|
}
|
|
85090
85101
|
remove(A, e) {
|
|
85091
85102
|
U.rawimpulsejointset_remove(this.ptr, A, e);
|
|
@@ -85260,7 +85271,7 @@ class Ws {
|
|
|
85260
85271
|
return Ws.__wrap(A);
|
|
85261
85272
|
}
|
|
85262
85273
|
createJoint(A, e, t, g) {
|
|
85263
|
-
return iA(A,
|
|
85274
|
+
return iA(A, Mo), U.rawmultibodyjointset_createJoint(this.ptr, A.ptr, e, t, g);
|
|
85264
85275
|
}
|
|
85265
85276
|
remove(A, e) {
|
|
85266
85277
|
U.rawmultibodyjointset_remove(this.ptr, A, e);
|
|
@@ -86807,16 +86818,16 @@ class Pn {
|
|
|
86807
86818
|
switch (this.jointType) {
|
|
86808
86819
|
case mi.Fixed:
|
|
86809
86820
|
let C = Oe.intoRaw(this.frame1), n = Oe.intoRaw(this.frame2);
|
|
86810
|
-
e =
|
|
86821
|
+
e = Mo.fixed(t, C, g, n), C.free(), n.free();
|
|
86811
86822
|
break;
|
|
86812
86823
|
case mi.Prismatic:
|
|
86813
|
-
A = nA.intoRaw(this.axis), this.limitsEnabled && (I = !0, o = this.limits[0], s = this.limits[1]), e =
|
|
86824
|
+
A = nA.intoRaw(this.axis), this.limitsEnabled && (I = !0, o = this.limits[0], s = this.limits[1]), e = Mo.prismatic(t, g, A, I, o, s), A.free();
|
|
86814
86825
|
break;
|
|
86815
86826
|
case mi.Spherical:
|
|
86816
|
-
e =
|
|
86827
|
+
e = Mo.spherical(t, g);
|
|
86817
86828
|
break;
|
|
86818
86829
|
case mi.Revolute:
|
|
86819
|
-
A = nA.intoRaw(this.axis), e =
|
|
86830
|
+
A = nA.intoRaw(this.axis), e = Mo.revolute(t, g, A), A.free();
|
|
86820
86831
|
}
|
|
86821
86832
|
return t.free(), g.free(), e;
|
|
86822
86833
|
}
|
|
@@ -88093,14 +88104,14 @@ for (var zCA = { byteLength: function(i) {
|
|
|
88093
88104
|
return 3 * (a + B) / 4 - B;
|
|
88094
88105
|
}(0, g, I)), s = 0, C = I > 0 ? g - 4 : g;
|
|
88095
88106
|
for (e = 0; e < C; e += 4)
|
|
88096
|
-
A =
|
|
88097
|
-
return I === 2 && (A =
|
|
88107
|
+
A = ho[i.charCodeAt(e)] << 18 | ho[i.charCodeAt(e + 1)] << 12 | ho[i.charCodeAt(e + 2)] << 6 | ho[i.charCodeAt(e + 3)], o[s++] = A >> 16 & 255, o[s++] = A >> 8 & 255, o[s++] = 255 & A;
|
|
88108
|
+
return I === 2 && (A = ho[i.charCodeAt(e)] << 2 | ho[i.charCodeAt(e + 1)] >> 4, o[s++] = 255 & A), I === 1 && (A = ho[i.charCodeAt(e)] << 10 | ho[i.charCodeAt(e + 1)] << 4 | ho[i.charCodeAt(e + 2)] >> 2, o[s++] = A >> 8 & 255, o[s++] = 255 & A), o;
|
|
88098
88109
|
}, fromByteArray: function(i) {
|
|
88099
88110
|
for (var A, e = i.length, t = e % 3, g = [], I = 16383, o = 0, s = e - t; o < s; o += I)
|
|
88100
88111
|
g.push(XCA(i, o, o + I > s ? s : o + I));
|
|
88101
88112
|
return t === 1 ? (A = i[e - 1], g.push(ms[A >> 2] + ms[A << 4 & 63] + "==")) : t === 2 && (A = (i[e - 2] << 8) + i[e - 1], g.push(ms[A >> 10] + ms[A >> 4 & 63] + ms[A << 2 & 63] + "=")), g.join("");
|
|
88102
|
-
} }, ms = [],
|
|
88103
|
-
ms[vB] = S0[vB],
|
|
88113
|
+
} }, ms = [], ho = [], jCA = typeof Uint8Array < "u" ? Uint8Array : Array, S0 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", vB = 0, ZCA = S0.length; vB < ZCA; ++vB)
|
|
88114
|
+
ms[vB] = S0[vB], ho[S0.charCodeAt(vB)] = vB;
|
|
88104
88115
|
function ev(i) {
|
|
88105
88116
|
var A = i.length;
|
|
88106
88117
|
if (A % 4 > 0)
|
|
@@ -88130,7 +88141,7 @@ function U_() {
|
|
|
88130
88141
|
}
|
|
88131
88142
|
}();
|
|
88132
88143
|
}
|
|
88133
|
-
|
|
88144
|
+
ho["-".charCodeAt(0)] = 62, ho["_".charCodeAt(0)] = 63;
|
|
88134
88145
|
var $CA = Object.freeze({ __proto__: null, version: U_, Vector3: QU, VectorOps: nA, Quaternion: Sf, RotationOps: Oe, get RigidBodyType() {
|
|
88135
88146
|
return jg;
|
|
88136
88147
|
}, RigidBody: Xh, RigidBodyDesc: Xo, RigidBodySet: EU, IntegrationParameters: cU, get JointType() {
|
|
@@ -88262,7 +88273,7 @@ const AnA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
88262
88273
|
default: $CA,
|
|
88263
88274
|
init: R_,
|
|
88264
88275
|
version: U_
|
|
88265
|
-
}, Symbol.toStringTag, { value: "Module" })), Si = sA("debugphysics"), k0 = sA("debugcolliderplacement"), G0 = sA("debugcollisions"), enA = sA("showcolliders"),
|
|
88276
|
+
}, Symbol.toStringTag, { value: "Module" })), Si = sA("debugphysics"), k0 = sA("debugcolliderplacement"), G0 = sA("debugcollisions"), enA = sA("showcolliders"), lo = Symbol("needle component"), Wo = Symbol("physics body"), tnA = Symbol("rigidbody");
|
|
88266
88277
|
let EC;
|
|
88267
88278
|
globalThis.true = globalThis.true !== void 0 ? globalThis.true : !0;
|
|
88268
88279
|
Si && console.log("Use Rapier", !0, globalThis.true);
|
|
@@ -88314,7 +88325,7 @@ const nh = class {
|
|
|
88314
88325
|
(t = this.world) == null || t.removeCollider(s, !0);
|
|
88315
88326
|
const C = s.parent();
|
|
88316
88327
|
if (C && C.numColliders() <= 0) {
|
|
88317
|
-
const n = C[
|
|
88328
|
+
const n = C[lo];
|
|
88318
88329
|
this.removeBody(n);
|
|
88319
88330
|
}
|
|
88320
88331
|
} else
|
|
@@ -88406,11 +88417,11 @@ const nh = class {
|
|
|
88406
88417
|
return null;
|
|
88407
88418
|
const o = (s = this.world) == null ? void 0 : s.castRay(I, t, g, void 0, void 0, void 0, void 0, (C) => {
|
|
88408
88419
|
var n;
|
|
88409
|
-
return !((n = C[
|
|
88420
|
+
return !((n = C[lo]) != null && n.gameObject.layers.isEnabled(2));
|
|
88410
88421
|
});
|
|
88411
88422
|
if (o) {
|
|
88412
88423
|
const C = I.pointAt(o.toi), n = this.raycastVectorsBuffer.get();
|
|
88413
|
-
return n.set(C.x, C.y, C.z), { point: n, collider: o.collider[
|
|
88424
|
+
return n.set(C.x, C.y, C.z), { point: n, collider: o.collider[lo] };
|
|
88414
88425
|
}
|
|
88415
88426
|
return null;
|
|
88416
88427
|
}
|
|
@@ -88422,11 +88433,11 @@ const nh = class {
|
|
|
88422
88433
|
return null;
|
|
88423
88434
|
const o = (s = this.world) == null ? void 0 : s.castRayAndGetNormal(I, t, g, void 0, void 0, void 0, void 0, (C) => {
|
|
88424
88435
|
var n;
|
|
88425
|
-
return !((n = C[
|
|
88436
|
+
return !((n = C[lo]) != null && n.gameObject.layers.isEnabled(2));
|
|
88426
88437
|
});
|
|
88427
88438
|
if (o) {
|
|
88428
88439
|
const C = I.pointAt(o.toi), n = o.normal, a = this.raycastVectorsBuffer.get(), B = this.raycastVectorsBuffer.get();
|
|
88429
|
-
return a.set(C.x, C.y, C.z), B.set(n.x, n.y, n.z), { point: a, normal: B, collider: o.collider[
|
|
88440
|
+
return a.set(C.x, C.y, C.z), B.set(n.x, n.y, n.z), { point: a, normal: B, collider: o.collider[lo] };
|
|
88430
88441
|
}
|
|
88431
88442
|
return null;
|
|
88432
88443
|
}
|
|
@@ -88471,14 +88482,14 @@ const nh = class {
|
|
|
88471
88482
|
this.rapierIdentityRotation,
|
|
88472
88483
|
this.rapierSphere,
|
|
88473
88484
|
(t) => {
|
|
88474
|
-
const g = t[
|
|
88485
|
+
const g = t[lo], I = new WCA(g.gameObject, g);
|
|
88475
88486
|
return this.rapierColliderArray.push(I), !0;
|
|
88476
88487
|
},
|
|
88477
88488
|
jh.EXCLUDE_SENSORS,
|
|
88478
88489
|
void 0,
|
|
88479
88490
|
void 0,
|
|
88480
88491
|
void 0,
|
|
88481
|
-
(t) => t[
|
|
88492
|
+
(t) => t[lo].gameObject.layers.isEnabled(2) == !1
|
|
88482
88493
|
), this.rapierColliderArray) : this.rapierColliderArray;
|
|
88483
88494
|
}
|
|
88484
88495
|
get isUpdating() {
|
|
@@ -88601,7 +88612,7 @@ const nh = class {
|
|
|
88601
88612
|
}
|
|
88602
88613
|
}
|
|
88603
88614
|
const C = this.world.createCollider(e, I);
|
|
88604
|
-
return C[
|
|
88615
|
+
return C[lo] = A, A[Wo] = C, C.setActiveEvents(Zh.COLLISION_EVENTS), C.setActiveCollisionTypes(JQ.ALL), this.objects.push(A), this.bodies.push(C), C;
|
|
88605
88616
|
}
|
|
88606
88617
|
getRigidbody(A, e) {
|
|
88607
88618
|
if (!this.world)
|
|
@@ -88615,10 +88626,10 @@ const nh = class {
|
|
|
88615
88626
|
const s = o ? EC.RigidBodyDesc.kinematicPositionBased() : EC.RigidBodyDesc.dynamic(), C = ke(A.attachedRigidbody.gameObject);
|
|
88616
88627
|
s.setTranslation(C.x, C.y, C.z), s.setRotation(gg(A.attachedRigidbody.gameObject)), t = this.world.createRigidBody(s), this.bodies.push(t), this.objects.push(I);
|
|
88617
88628
|
}
|
|
88618
|
-
t[
|
|
88629
|
+
t[lo] = I, I[Wo] = t, this.internalUpdateProperties(I, t), this.getRigidbodyRelativeMatrix(A.gameObject, I.gameObject, e);
|
|
88619
88630
|
} else {
|
|
88620
88631
|
const I = EC.RigidBodyDesc.kinematicPositionBased(), o = ke(A.gameObject);
|
|
88621
|
-
I.setTranslation(o.x, o.y, o.z), I.setRotation(gg(A.gameObject)), t = this.world.createRigidBody(I), e.identity(), t[
|
|
88632
|
+
I.setTranslation(o.x, o.y, o.z), I.setRotation(gg(A.gameObject)), t = this.world.createRigidBody(I), e.identity(), t[lo] = null;
|
|
88622
88633
|
}
|
|
88623
88634
|
return A[tnA] = t, { rigidBody: t, useExplicitMassProperties: g };
|
|
88624
88635
|
}
|
|
@@ -88739,7 +88750,7 @@ class inA {
|
|
|
88739
88750
|
}
|
|
88740
88751
|
handleCollisionEvents() {
|
|
88741
88752
|
this.eventQueue && this.world && this.eventQueue.drainCollisionEvents((A, e, t) => {
|
|
88742
|
-
const g = this.world.getCollider(A), I = this.world.getCollider(e), o = g[
|
|
88753
|
+
const g = this.world.getCollider(A), I = this.world.getCollider(e), o = g[lo], s = I[lo];
|
|
88743
88754
|
G0 && console.log("EVT", o.name, s.name, t, g, I), o && s && (t ? (this.onCollisionStarted(o, g, s, I), this.onCollisionStarted(s, I, o, g)) : (this.onCollisionEnded(o, s), this.onCollisionEnded(s, o)));
|
|
88744
88755
|
});
|
|
88745
88756
|
}
|
|
@@ -88902,8 +88913,8 @@ _t.registerCallback(Zg.MissingCamera, (i) => {
|
|
|
88902
88913
|
Rf && console.warn("Creating missing camera");
|
|
88903
88914
|
const A = i.context.scene, e = new FA();
|
|
88904
88915
|
e.name = "Default Fallback Camera", A.add(e);
|
|
88905
|
-
const t = new
|
|
88906
|
-
t.sourceId = ((o = (I = i.files) == null ? void 0 : I[0]) == null ? void 0 : o.src) ?? "unknown", t.clearFlags = 1, t.backgroundColor = new Mt(0.5, 0.5, 0.5, 1), t.fieldOfView = 35, t.backgroundBlurriness = 0.
|
|
88916
|
+
const t = new Wt();
|
|
88917
|
+
t.sourceId = ((o = (I = i.files) == null ? void 0 : I[0]) == null ? void 0 : o.src) ?? "unknown", t.clearFlags = 1, t.backgroundColor = new Mt(0.5, 0.5, 0.5, 1), t.fieldOfView = 35, t.backgroundBlurriness = 0.125;
|
|
88907
88918
|
const g = WQ(e, t, !0);
|
|
88908
88919
|
return e.position.x = 0, e.position.y = 1, e.position.z = 2, F_(i.context, g), g;
|
|
88909
88920
|
});
|
|
@@ -89245,7 +89256,7 @@ Ey.WebsocketBuilder = nnA;
|
|
|
89245
89256
|
const anA = /* @__PURE__ */ Ql(xU), rnA = /* @__PURE__ */ b_({
|
|
89246
89257
|
__proto__: null,
|
|
89247
89258
|
default: anA
|
|
89248
|
-
}, [xU]),
|
|
89259
|
+
}, [xU]), ro = {
|
|
89249
89260
|
node: "node",
|
|
89250
89261
|
material: "material",
|
|
89251
89262
|
camera: "camera",
|
|
@@ -89308,7 +89319,7 @@ class QnA {
|
|
|
89308
89319
|
const e = A.target, t = e.extensions && e.extensions[ja] && e.path && e.path === "pointer";
|
|
89309
89320
|
if (!t)
|
|
89310
89321
|
return null;
|
|
89311
|
-
let g, I =
|
|
89322
|
+
let g, I = ro.node, o;
|
|
89312
89323
|
if (t) {
|
|
89313
89324
|
const C = e.extensions[ja];
|
|
89314
89325
|
let n = C.pointer;
|
|
@@ -89316,12 +89327,12 @@ class QnA {
|
|
|
89316
89327
|
console.warn("Invalid path", C, e);
|
|
89317
89328
|
return;
|
|
89318
89329
|
}
|
|
89319
|
-
if (n.startsWith("/materials/") ? I =
|
|
89330
|
+
if (n.startsWith("/materials/") ? I = ro.material : n.startsWith("/extensions/KHR_lights_punctual/lights/") ? I = ro.light : n.startsWith("/cameras/") && (I = ro.camera), o = this._tryResolveTargetId(n, I), o === null || isNaN(o)) {
|
|
89320
89331
|
console.warn("Failed resolving animation node id: " + o, n);
|
|
89321
89332
|
return;
|
|
89322
89333
|
}
|
|
89323
89334
|
switch (I) {
|
|
89324
|
-
case
|
|
89335
|
+
case ro.material:
|
|
89325
89336
|
const B = ("/materials/" + o.toString() + "/").length, Q = n.substring(0, B);
|
|
89326
89337
|
switch (g = n.substring(B), g) {
|
|
89327
89338
|
case "pbrMetallicRoughness/baseColorFactor":
|
|
@@ -89408,7 +89419,7 @@ class QnA {
|
|
|
89408
89419
|
}
|
|
89409
89420
|
n = Q + g;
|
|
89410
89421
|
break;
|
|
89411
|
-
case
|
|
89422
|
+
case ro.node:
|
|
89412
89423
|
const E = ("/nodes/" + o.toString() + "/").length, c = n.substring(0, E);
|
|
89413
89424
|
switch (g = n.substring(E), g) {
|
|
89414
89425
|
case "translation":
|
|
@@ -89426,7 +89437,7 @@ class QnA {
|
|
|
89426
89437
|
}
|
|
89427
89438
|
n = c + g;
|
|
89428
89439
|
break;
|
|
89429
|
-
case
|
|
89440
|
+
case ro.light:
|
|
89430
89441
|
const l = ("/extensions/KHR_lights_punctual/lights/" + o.toString() + "/").length;
|
|
89431
89442
|
switch (g = n.substring(l), g) {
|
|
89432
89443
|
case "color":
|
|
@@ -89445,7 +89456,7 @@ class QnA {
|
|
|
89445
89456
|
}
|
|
89446
89457
|
n = "/lights/" + o.toString() + "/" + g;
|
|
89447
89458
|
break;
|
|
89448
|
-
case
|
|
89459
|
+
case ro.camera:
|
|
89449
89460
|
const d = ("/cameras/" + o.toString() + "/").length, h = n.substring(0, d);
|
|
89450
89461
|
switch (g = n.substring(d), g) {
|
|
89451
89462
|
case "perspective/yfov":
|
|
@@ -89480,7 +89491,7 @@ class QnA {
|
|
|
89480
89491
|
return;
|
|
89481
89492
|
}
|
|
89482
89493
|
let s;
|
|
89483
|
-
return I ===
|
|
89494
|
+
return I === ro.node ? s = this.parser.getDependency("node", o) : I === ro.material ? s = this.parser.getDependency("material", o) : I === ro.light ? s = this.parser.getDependency("light", o) : I === ro.camera ? s = this.parser.getDependency("camera", o) : console.error("Unhandled type", I), s;
|
|
89484
89495
|
}
|
|
89485
89496
|
createAnimationTracksWithAnimationPointer(A, e, t, g, I) {
|
|
89486
89497
|
if (!(I.extensions && I.extensions[ja] && I.path && I.path === "pointer"))
|
|
@@ -89584,11 +89595,11 @@ export {
|
|
|
89584
89595
|
JaA as $physicsKey,
|
|
89585
89596
|
dt as ActionBuilder,
|
|
89586
89597
|
bT as ActionCollection,
|
|
89587
|
-
|
|
89598
|
+
So as ActionModel,
|
|
89588
89599
|
PZ as Addressables,
|
|
89589
89600
|
TD as AlignmentConstraint,
|
|
89590
89601
|
_c as AmbientMode,
|
|
89591
|
-
|
|
89602
|
+
Ko as Animation,
|
|
89592
89603
|
ZQ as AnimationCurve,
|
|
89593
89604
|
NM as AnimationExtension,
|
|
89594
89605
|
dR as AnimationTrackHandler,
|
|
@@ -89630,7 +89641,7 @@ export {
|
|
|
89630
89641
|
ts as BoxHelperComponent,
|
|
89631
89642
|
Sa as Button,
|
|
89632
89643
|
Uh as CallInfo,
|
|
89633
|
-
|
|
89644
|
+
Wt as Camera,
|
|
89634
89645
|
bg as Canvas,
|
|
89635
89646
|
Kr as CanvasGroup,
|
|
89636
89647
|
Nr as CapsuleCollider,
|
|
@@ -89661,7 +89672,7 @@ export {
|
|
|
89661
89672
|
Jn as ControllerEvents,
|
|
89662
89673
|
zc as ControllerType,
|
|
89663
89674
|
Xr as CustomBranding,
|
|
89664
|
-
|
|
89675
|
+
Eo as CustomShader,
|
|
89665
89676
|
zk as DefaultReflectionMode,
|
|
89666
89677
|
qH as Deletable,
|
|
89667
89678
|
RR as DeleteBox,
|
|
@@ -89723,7 +89734,7 @@ export {
|
|
|
89723
89734
|
ww as LODGroup,
|
|
89724
89735
|
QE as LODModel,
|
|
89725
89736
|
PnA as LeftRoomResponse,
|
|
89726
|
-
|
|
89737
|
+
eo as Light,
|
|
89727
89738
|
ZZ as LightData,
|
|
89728
89739
|
ji as LimitVelocityOverLifetimeModule,
|
|
89729
89740
|
iaA as LoadingElementOptions,
|
|
@@ -89738,8 +89749,8 @@ export {
|
|
|
89738
89749
|
nw as MeshCollider,
|
|
89739
89750
|
MM as MeshRenderer,
|
|
89740
89751
|
Be as MinMaxCurve,
|
|
89741
|
-
|
|
89742
|
-
|
|
89752
|
+
$I as MinMaxGradient,
|
|
89753
|
+
yo as NEEDLE_progressive,
|
|
89743
89754
|
_t as NeedleEngine,
|
|
89744
89755
|
S_ as NeedleEngineHTMLElement,
|
|
89745
89756
|
u_ as NeedleGltfLoader,
|
|
@@ -89796,7 +89807,7 @@ export {
|
|
|
89796
89807
|
na as RemoteSkybox,
|
|
89797
89808
|
Sr as RenderTexture,
|
|
89798
89809
|
$X as RenderTextureSerializer,
|
|
89799
|
-
|
|
89810
|
+
$t as Renderer,
|
|
89800
89811
|
jZ as RendererData,
|
|
89801
89812
|
$p as RendererLightmap,
|
|
89802
89813
|
si as Rigidbody,
|
|
@@ -89805,7 +89816,7 @@ export {
|
|
|
89805
89816
|
bo as RotationBySpeedModule,
|
|
89806
89817
|
cs as RotationOverLifetimeModule,
|
|
89807
89818
|
nG as SceneLightSettings,
|
|
89808
|
-
|
|
89819
|
+
to as SceneSwitcher,
|
|
89809
89820
|
Nw as ScreenCapture,
|
|
89810
89821
|
Ma as ScreenSpaceAmbientOcclusion,
|
|
89811
89822
|
eC as ScreenSpaceAmbientOcclusionN8,
|
|
@@ -89850,7 +89861,7 @@ export {
|
|
|
89850
89861
|
$V as Time,
|
|
89851
89862
|
bw as ToneMapping,
|
|
89852
89863
|
tw as TrackHandler,
|
|
89853
|
-
|
|
89864
|
+
co as TrackType,
|
|
89854
89865
|
Ai as TrailModule,
|
|
89855
89866
|
kr as TransformData,
|
|
89856
89867
|
pE as TransformGizmo,
|
|
@@ -89895,7 +89906,7 @@ export {
|
|
|
89895
89906
|
xw as WebXRPlaneTracking,
|
|
89896
89907
|
af as WebXRSync,
|
|
89897
89908
|
Ln as WebXRTrackedImage,
|
|
89898
|
-
|
|
89909
|
+
Go as XRFlag,
|
|
89899
89910
|
IU as XRGrabModel,
|
|
89900
89911
|
h_ as XRGrabRendering,
|
|
89901
89912
|
hR as XRRig,
|
|
@@ -90064,5 +90075,5 @@ export {
|
|
|
90064
90075
|
e8 as tryGetGuid,
|
|
90065
90076
|
NaA as unregisterHotReloadType,
|
|
90066
90077
|
_Z as upload_file,
|
|
90067
|
-
|
|
90078
|
+
qo as validate
|
|
90068
90079
|
};
|