gl-draw 0.14.33 → 0.14.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/pass/OutputPass.d.ts +2 -0
- package/dist/index.js +7 -3
- package/dist/index.module.js +123 -109
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/index.module.js +50 -50
- package/package.json +5 -5
package/dist/index.module.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var _t = Object.defineProperty, gt = Object.defineProperties;
|
|
2
|
+
var vt = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Le = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Se = (l, e, t) => e in l ?
|
|
4
|
+
var yt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (l, e, t) => e in l ? _t(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, z = (l, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
yt.call(e, t) && Se(l, t, e[t]);
|
|
8
8
|
if (Le)
|
|
9
9
|
for (var t of Le(e))
|
|
10
|
-
|
|
10
|
+
Ct.call(e, t) && Se(l, t, e[t]);
|
|
11
11
|
return l;
|
|
12
|
-
}, Q = (l, e) =>
|
|
12
|
+
}, Q = (l, e) => gt(l, vt(e));
|
|
13
13
|
var J = (l, e, t) => new Promise((s, i) => {
|
|
14
14
|
var r = (h) => {
|
|
15
15
|
try {
|
|
@@ -27,20 +27,20 @@ var J = (l, e, t) => new Promise((s, i) => {
|
|
|
27
27
|
n((t = t.apply(l, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as O from "three";
|
|
30
|
-
import { Vector3 as oe, Quaternion as
|
|
31
|
-
import { Timer as
|
|
30
|
+
import { Vector3 as oe, Quaternion as Et, Matrix4 as fe, UniformsUtils as Ot, RawShaderMaterial as Tt } from "three";
|
|
31
|
+
import { Timer as xt } from "three/examples/jsm/misc/Timer";
|
|
32
32
|
import * as ye from "@tweenjs/tween.js";
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import { C as
|
|
36
|
-
import { R as
|
|
37
|
-
import { RectAreaLightHelper as
|
|
38
|
-
import { ViewHelper as
|
|
39
|
-
import { TransformControls as
|
|
33
|
+
import wt from "deepmerge";
|
|
34
|
+
import bt from "stats-gl";
|
|
35
|
+
import { C as Pt, c as Lt, i as St } from "./isPlainObject.module.js";
|
|
36
|
+
import { R as At, M as tt, B as Mt, G as Ae } from "./index.module2.js";
|
|
37
|
+
import { RectAreaLightHelper as Dt } from "three/examples/jsm/helpers/RectAreaLightHelper";
|
|
38
|
+
import { ViewHelper as Rt } from "three/examples/jsm/helpers/ViewHelper";
|
|
39
|
+
import { TransformControls as Ut } from "three/examples/jsm/controls/TransformControls";
|
|
40
40
|
import { EffectComposer as Me } from "three/examples/jsm/postprocessing/EffectComposer";
|
|
41
|
-
import { RenderPass as
|
|
42
|
-
import { SSAOPass as
|
|
43
|
-
import { FullScreenQuad as
|
|
41
|
+
import { RenderPass as zt } from "three/examples/jsm/postprocessing/RenderPass";
|
|
42
|
+
import { SSAOPass as kt } from "three/examples/jsm/postprocessing/SSAOPass";
|
|
43
|
+
import { FullScreenQuad as De } from "three/examples/jsm/postprocessing/Pass";
|
|
44
44
|
import { OutputPass as Ft } from "three/examples/jsm/postprocessing/OutputPass";
|
|
45
45
|
import { ShaderPass as Nt } from "three/examples/jsm/postprocessing/ShaderPass";
|
|
46
46
|
import { UnrealBloomPass as Ht } from "three/examples/jsm/postprocessing/UnrealBloomPass";
|
|
@@ -53,11 +53,11 @@ import "three/examples/jsm/lines/LineSegments2";
|
|
|
53
53
|
import "three/examples/jsm/lines/LineSegmentsGeometry";
|
|
54
54
|
import "three/examples/jsm/lines/LineMaterial";
|
|
55
55
|
import "three-bvh-csg";
|
|
56
|
-
import { GLTFLoader as
|
|
56
|
+
import { GLTFLoader as Re } from "three/examples/jsm/loaders/GLTFLoader";
|
|
57
57
|
import { DRACOLoader as It } from "three/examples/jsm/loaders/DRACOLoader";
|
|
58
58
|
import { EXRLoader as jt } from "three/examples/jsm/loaders/EXRLoader";
|
|
59
59
|
import { LottieLoader as Vt } from "three/examples/jsm/loaders/LottieLoader";
|
|
60
|
-
import { makePromiseCreator as Bt, generateUUID as
|
|
60
|
+
import { makePromiseCreator as Bt, generateUUID as Ue } from "esus-lite";
|
|
61
61
|
const D = {
|
|
62
62
|
LEFT: 1,
|
|
63
63
|
RIGHT: 2,
|
|
@@ -95,17 +95,17 @@ function B(l) {
|
|
|
95
95
|
function j(l) {
|
|
96
96
|
return l.isOrthographicCamera;
|
|
97
97
|
}
|
|
98
|
-
const W = Math.PI * 2,
|
|
98
|
+
const W = Math.PI * 2, ze = Math.PI / 2, st = 1e-5, ee = Math.PI / 180;
|
|
99
99
|
function F(l, e, t) {
|
|
100
100
|
return Math.max(e, Math.min(t, l));
|
|
101
101
|
}
|
|
102
|
-
function M(l, e =
|
|
102
|
+
function M(l, e = st) {
|
|
103
103
|
return Math.abs(l) < e;
|
|
104
104
|
}
|
|
105
|
-
function S(l, e, t =
|
|
105
|
+
function S(l, e, t = st) {
|
|
106
106
|
return M(l - e, t);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function ke(l, e) {
|
|
109
109
|
return Math.round(l / e) * e;
|
|
110
110
|
}
|
|
111
111
|
function te(l) {
|
|
@@ -125,7 +125,7 @@ function he(l, e, t, s, i = 1 / 0, r) {
|
|
|
125
125
|
let v = e + (d + C) * h;
|
|
126
126
|
return f - l > 0 == v > f && (v = f, t.value = (v - f) / r), v;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Fe(l, e, t, s, i = 1 / 0, r, o) {
|
|
129
129
|
s = Math.max(1e-4, s);
|
|
130
130
|
const n = 2 / s, h = n * r, d = 1 / (1 + h + 0.48 * h * h + 0.235 * h * h * h);
|
|
131
131
|
let f = e.x, p = e.y, C = e.z, v = l.x - f, m = l.y - p, u = l.z - C;
|
|
@@ -137,8 +137,8 @@ function ke(l, e, t, s, i = 1 / 0, r, o) {
|
|
|
137
137
|
f = l.x - v, p = l.y - m, C = l.z - u;
|
|
138
138
|
const T = (t.x + n * v) * r, P = (t.y + n * m) * r, R = (t.z + n * u) * r;
|
|
139
139
|
t.x = (t.x - n * T) * d, t.y = (t.y - n * P) * d, t.z = (t.z - n * R) * d, o.x = f + (v + T) * d, o.y = p + (m + P) * d, o.z = C + (u + R) * d;
|
|
140
|
-
const V = g - l.x, ae = a - l.y,
|
|
141
|
-
return V *
|
|
140
|
+
const V = g - l.x, ae = a - l.y, pt = _ - l.z, mt = o.x - g, ut = o.y - a, ft = o.z - _;
|
|
141
|
+
return V * mt + ae * ut + pt * ft > 0 && (o.x = g, o.y = a, o.z = _, t.x = (o.x - g) / r, t.y = (o.y - a) / r, t.z = (o.z - _) / r), o;
|
|
142
142
|
}
|
|
143
143
|
function Ce(l, e) {
|
|
144
144
|
e.set(0, 0), l.forEach((t) => {
|
|
@@ -213,7 +213,7 @@ class Yt {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
const le = 1 / 8, Zt = /Mac/.test(navigator.platform);
|
|
216
|
-
let x,
|
|
216
|
+
let x, Ne, ce, Oe, U, b, L, G, ie, N, H, Y, He, Ie, k, re, K, je, Te, Ve, xe, we, de;
|
|
217
217
|
class $ extends Yt {
|
|
218
218
|
/**
|
|
219
219
|
* Injects THREE as the dependency. You can then proceed to use CameraControls.
|
|
@@ -256,7 +256,7 @@ class $ extends Yt {
|
|
|
256
256
|
* @category Statics
|
|
257
257
|
*/
|
|
258
258
|
static install(e) {
|
|
259
|
-
x = e.THREE,
|
|
259
|
+
x = e.THREE, Ne = Object.freeze(new x.Vector3(0, 0, 0)), ce = Object.freeze(new x.Vector3(0, 1, 0)), Oe = Object.freeze(new x.Vector3(0, 0, 1)), U = new x.Vector2(), b = new x.Vector3(), L = new x.Vector3(), G = new x.Vector3(), ie = new x.Vector3(), N = new x.Vector3(), H = new x.Vector3(), Y = new x.Vector3(), He = new x.Vector3(), Ie = new x.Vector3(), k = new x.Spherical(), re = new x.Spherical(), K = new x.Box3(), je = new x.Box3(), Te = new x.Sphere(), Ve = new x.Quaternion(), xe = new x.Quaternion(), we = new x.Matrix4(), de = new x.Raycaster();
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
262
|
* list all ACTIONs
|
|
@@ -1026,11 +1026,11 @@ class $ extends Yt {
|
|
|
1026
1026
|
d.isEmpty() && (console.warn(
|
|
1027
1027
|
"camera-controls: fitTo() cannot be used with an empty box. Aborting"
|
|
1028
1028
|
), Promise.resolve());
|
|
1029
|
-
const f =
|
|
1029
|
+
const f = ke(this._sphericalEnd.theta, ze), p = ke(this._sphericalEnd.phi, ze);
|
|
1030
1030
|
h.push(this.rotateTo(f, p, t));
|
|
1031
|
-
const C = b.setFromSpherical(this._sphericalEnd).normalize(), v =
|
|
1031
|
+
const C = b.setFromSpherical(this._sphericalEnd).normalize(), v = Ve.setFromUnitVectors(C, Oe), m = S(Math.abs(C.y), 1);
|
|
1032
1032
|
m && v.multiply(xe.setFromAxisAngle(ce, f)), v.multiply(this._yAxisUpSpaceInverse);
|
|
1033
|
-
const u =
|
|
1033
|
+
const u = je.makeEmpty();
|
|
1034
1034
|
L.copy(d.min).applyQuaternion(v), u.expandByPoint(L), L.copy(d.min).setX(d.max.x).applyQuaternion(v), u.expandByPoint(L), L.copy(d.min).setY(d.max.y).applyQuaternion(v), u.expandByPoint(L), L.copy(d.max).setZ(d.min.z).applyQuaternion(v), u.expandByPoint(L), L.copy(d.min).setZ(d.max.z).applyQuaternion(v), u.expandByPoint(L), L.copy(d.max).setY(d.min.y).applyQuaternion(v), u.expandByPoint(L), L.copy(d.max).setX(d.min.x).applyQuaternion(v), u.expandByPoint(L), L.copy(d.max).applyQuaternion(v), u.expandByPoint(L), u.min.x -= i, u.min.y -= o, u.max.x += r, u.max.y += n, v.setFromUnitVectors(Oe, C), m && v.premultiply(xe.invert()), v.premultiply(this._yAxisUpSpace);
|
|
1035
1035
|
const g = u.getSize(b), a = u.getCenter(L).applyQuaternion(v);
|
|
1036
1036
|
if (B(this._camera)) {
|
|
@@ -1409,7 +1409,7 @@ class $ extends Yt {
|
|
|
1409
1409
|
* @category Methods
|
|
1410
1410
|
*/
|
|
1411
1411
|
update(e) {
|
|
1412
|
-
const t = this._sphericalEnd.theta - this._spherical.theta, s = this._sphericalEnd.phi - this._spherical.phi, i = this._sphericalEnd.radius - this._spherical.radius, r =
|
|
1412
|
+
const t = this._sphericalEnd.theta - this._spherical.theta, s = this._sphericalEnd.phi - this._spherical.phi, i = this._sphericalEnd.radius - this._spherical.radius, r = He.subVectors(this._targetEnd, this._target), o = Ie.subVectors(
|
|
1413
1413
|
this._focalOffsetEnd,
|
|
1414
1414
|
this._focalOffset
|
|
1415
1415
|
), n = this._zoomEnd - this._zoom;
|
|
@@ -1456,7 +1456,7 @@ class $ extends Yt {
|
|
|
1456
1456
|
this._targetVelocity.set(0, 0, 0), this._target.copy(this._targetEnd);
|
|
1457
1457
|
else {
|
|
1458
1458
|
const p = this._isUserControllingTruck ? this.draggingSmoothTime : this.smoothTime;
|
|
1459
|
-
|
|
1459
|
+
Fe(
|
|
1460
1460
|
this._target,
|
|
1461
1461
|
this._targetEnd,
|
|
1462
1462
|
this._targetVelocity,
|
|
@@ -1470,7 +1470,7 @@ class $ extends Yt {
|
|
|
1470
1470
|
this._focalOffsetVelocity.set(0, 0, 0), this._focalOffset.copy(this._focalOffsetEnd);
|
|
1471
1471
|
else {
|
|
1472
1472
|
const p = this._isUserControllingOffset ? this.draggingSmoothTime : this.smoothTime;
|
|
1473
|
-
|
|
1473
|
+
Fe(
|
|
1474
1474
|
this._focalOffset,
|
|
1475
1475
|
this._focalOffsetEnd,
|
|
1476
1476
|
this._focalOffsetVelocity,
|
|
@@ -1658,7 +1658,7 @@ class $ extends Yt {
|
|
|
1658
1658
|
if (!(this.colliderMeshes.length >= 1) || Ee(this._camera, "_collisionTest"))
|
|
1659
1659
|
return e;
|
|
1660
1660
|
const s = this._getTargetDirection(ie);
|
|
1661
|
-
we.lookAt(
|
|
1661
|
+
we.lookAt(Ne, s, this._camera.up);
|
|
1662
1662
|
for (let i = 0; i < 4; i++) {
|
|
1663
1663
|
const r = L.copy(this._nearPlaneCorners[i]);
|
|
1664
1664
|
r.applyMatrix4(we);
|
|
@@ -1748,7 +1748,7 @@ class $ extends Yt {
|
|
|
1748
1748
|
}), s.radius = Math.sqrt(r), s;
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
|
-
var Pe = { exports: {} }, q = typeof Reflect == "object" ? Reflect : null,
|
|
1751
|
+
var Pe = { exports: {} }, q = typeof Reflect == "object" ? Reflect : null, Be = q && typeof q.apply == "function" ? q.apply : function(e, t, s) {
|
|
1752
1752
|
return Function.prototype.apply.call(e, t, s);
|
|
1753
1753
|
}, me;
|
|
1754
1754
|
q && typeof q.ownKeys == "function" ? me = q.ownKeys : Object.getOwnPropertySymbols ? me = function(e) {
|
|
@@ -1759,7 +1759,7 @@ q && typeof q.ownKeys == "function" ? me = q.ownKeys : Object.getOwnPropertySymb
|
|
|
1759
1759
|
function Wt(l) {
|
|
1760
1760
|
console && console.warn && console.warn(l);
|
|
1761
1761
|
}
|
|
1762
|
-
var
|
|
1762
|
+
var it = Number.isNaN || function(e) {
|
|
1763
1763
|
return e !== e;
|
|
1764
1764
|
};
|
|
1765
1765
|
function A() {
|
|
@@ -1771,7 +1771,7 @@ A.EventEmitter = A;
|
|
|
1771
1771
|
A.prototype._events = void 0;
|
|
1772
1772
|
A.prototype._eventsCount = 0;
|
|
1773
1773
|
A.prototype._maxListeners = void 0;
|
|
1774
|
-
var
|
|
1774
|
+
var Ye = 10;
|
|
1775
1775
|
function _e(l) {
|
|
1776
1776
|
if (typeof l != "function")
|
|
1777
1777
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof l);
|
|
@@ -1779,27 +1779,27 @@ function _e(l) {
|
|
|
1779
1779
|
Object.defineProperty(A, "defaultMaxListeners", {
|
|
1780
1780
|
enumerable: !0,
|
|
1781
1781
|
get: function() {
|
|
1782
|
-
return
|
|
1782
|
+
return Ye;
|
|
1783
1783
|
},
|
|
1784
1784
|
set: function(l) {
|
|
1785
|
-
if (typeof l != "number" || l < 0 ||
|
|
1785
|
+
if (typeof l != "number" || l < 0 || it(l))
|
|
1786
1786
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + l + ".");
|
|
1787
|
-
|
|
1787
|
+
Ye = l;
|
|
1788
1788
|
}
|
|
1789
1789
|
});
|
|
1790
1790
|
A.init = function() {
|
|
1791
1791
|
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
1792
1792
|
};
|
|
1793
1793
|
A.prototype.setMaxListeners = function(e) {
|
|
1794
|
-
if (typeof e != "number" || e < 0 ||
|
|
1794
|
+
if (typeof e != "number" || e < 0 || it(e))
|
|
1795
1795
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
1796
1796
|
return this._maxListeners = e, this;
|
|
1797
1797
|
};
|
|
1798
|
-
function
|
|
1798
|
+
function rt(l) {
|
|
1799
1799
|
return l._maxListeners === void 0 ? A.defaultMaxListeners : l._maxListeners;
|
|
1800
1800
|
}
|
|
1801
1801
|
A.prototype.getMaxListeners = function() {
|
|
1802
|
-
return
|
|
1802
|
+
return rt(this);
|
|
1803
1803
|
};
|
|
1804
1804
|
A.prototype.emit = function(e) {
|
|
1805
1805
|
for (var t = [], s = 1; s < arguments.length; s++) t.push(arguments[s]);
|
|
@@ -1819,13 +1819,13 @@ A.prototype.emit = function(e) {
|
|
|
1819
1819
|
if (h === void 0)
|
|
1820
1820
|
return !1;
|
|
1821
1821
|
if (typeof h == "function")
|
|
1822
|
-
|
|
1822
|
+
Be(h, this, t);
|
|
1823
1823
|
else
|
|
1824
|
-
for (var d = h.length, f =
|
|
1825
|
-
|
|
1824
|
+
for (var d = h.length, f = lt(h, d), s = 0; s < d; ++s)
|
|
1825
|
+
Be(f[s], this, t);
|
|
1826
1826
|
return !0;
|
|
1827
1827
|
};
|
|
1828
|
-
function
|
|
1828
|
+
function ot(l, e, t, s) {
|
|
1829
1829
|
var i, r, o;
|
|
1830
1830
|
if (_e(t), r = l._events, r === void 0 ? (r = l._events = /* @__PURE__ */ Object.create(null), l._eventsCount = 0) : (r.newListener !== void 0 && (l.emit(
|
|
1831
1831
|
"newListener",
|
|
@@ -1833,7 +1833,7 @@ function rt(l, e, t, s) {
|
|
|
1833
1833
|
t.listener ? t.listener : t
|
|
1834
1834
|
), r = l._events), o = r[e]), o === void 0)
|
|
1835
1835
|
o = r[e] = t, ++l._eventsCount;
|
|
1836
|
-
else if (typeof o == "function" ? o = r[e] = s ? [t, o] : [o, t] : s ? o.unshift(t) : o.push(t), i =
|
|
1836
|
+
else if (typeof o == "function" ? o = r[e] = s ? [t, o] : [o, t] : s ? o.unshift(t) : o.push(t), i = rt(l), i > 0 && o.length > i && !o.warned) {
|
|
1837
1837
|
o.warned = !0;
|
|
1838
1838
|
var n = new Error("Possible EventEmitter memory leak detected. " + o.length + " " + String(e) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
1839
1839
|
n.name = "MaxListenersExceededWarning", n.emitter = l, n.type = e, n.count = o.length, Wt(n);
|
|
@@ -1841,25 +1841,25 @@ function rt(l, e, t, s) {
|
|
|
1841
1841
|
return l;
|
|
1842
1842
|
}
|
|
1843
1843
|
A.prototype.addListener = function(e, t) {
|
|
1844
|
-
return
|
|
1844
|
+
return ot(this, e, t, !1);
|
|
1845
1845
|
};
|
|
1846
1846
|
A.prototype.on = A.prototype.addListener;
|
|
1847
1847
|
A.prototype.prependListener = function(e, t) {
|
|
1848
|
-
return
|
|
1848
|
+
return ot(this, e, t, !0);
|
|
1849
1849
|
};
|
|
1850
1850
|
function Gt() {
|
|
1851
1851
|
if (!this.fired)
|
|
1852
1852
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
1853
1853
|
}
|
|
1854
|
-
function
|
|
1854
|
+
function nt(l, e, t) {
|
|
1855
1855
|
var s = { fired: !1, wrapFn: void 0, target: l, type: e, listener: t }, i = Gt.bind(s);
|
|
1856
1856
|
return i.listener = t, s.wrapFn = i, i;
|
|
1857
1857
|
}
|
|
1858
1858
|
A.prototype.once = function(e, t) {
|
|
1859
|
-
return _e(t), this.on(e,
|
|
1859
|
+
return _e(t), this.on(e, nt(this, e, t)), this;
|
|
1860
1860
|
};
|
|
1861
1861
|
A.prototype.prependOnceListener = function(e, t) {
|
|
1862
|
-
return _e(t), this.prependListener(e,
|
|
1862
|
+
return _e(t), this.prependListener(e, nt(this, e, t)), this;
|
|
1863
1863
|
};
|
|
1864
1864
|
A.prototype.removeListener = function(e, t) {
|
|
1865
1865
|
var s, i, r, o, n;
|
|
@@ -1901,24 +1901,24 @@ A.prototype.removeAllListeners = function(e) {
|
|
|
1901
1901
|
this.removeListener(e, t[i]);
|
|
1902
1902
|
return this;
|
|
1903
1903
|
};
|
|
1904
|
-
function
|
|
1904
|
+
function at(l, e, t) {
|
|
1905
1905
|
var s = l._events;
|
|
1906
1906
|
if (s === void 0)
|
|
1907
1907
|
return [];
|
|
1908
1908
|
var i = s[e];
|
|
1909
|
-
return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ? Xt(i) :
|
|
1909
|
+
return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ? Xt(i) : lt(i, i.length);
|
|
1910
1910
|
}
|
|
1911
1911
|
A.prototype.listeners = function(e) {
|
|
1912
|
-
return
|
|
1912
|
+
return at(this, e, !0);
|
|
1913
1913
|
};
|
|
1914
1914
|
A.prototype.rawListeners = function(e) {
|
|
1915
|
-
return
|
|
1915
|
+
return at(this, e, !1);
|
|
1916
1916
|
};
|
|
1917
1917
|
A.listenerCount = function(l, e) {
|
|
1918
|
-
return typeof l.listenerCount == "function" ? l.listenerCount(e) :
|
|
1918
|
+
return typeof l.listenerCount == "function" ? l.listenerCount(e) : ht.call(l, e);
|
|
1919
1919
|
};
|
|
1920
|
-
A.prototype.listenerCount =
|
|
1921
|
-
function
|
|
1920
|
+
A.prototype.listenerCount = ht;
|
|
1921
|
+
function ht(l) {
|
|
1922
1922
|
var e = this._events;
|
|
1923
1923
|
if (e !== void 0) {
|
|
1924
1924
|
var t = e[l];
|
|
@@ -1932,7 +1932,7 @@ function at(l) {
|
|
|
1932
1932
|
A.prototype.eventNames = function() {
|
|
1933
1933
|
return this._eventsCount > 0 ? me(this._events) : [];
|
|
1934
1934
|
};
|
|
1935
|
-
function
|
|
1935
|
+
function lt(l, e) {
|
|
1936
1936
|
for (var t = new Array(e), s = 0; s < e; ++s)
|
|
1937
1937
|
t[s] = l[s];
|
|
1938
1938
|
return t;
|
|
@@ -1955,13 +1955,13 @@ function qt(l, e) {
|
|
|
1955
1955
|
function r() {
|
|
1956
1956
|
typeof l.removeListener == "function" && l.removeListener("error", i), t([].slice.call(arguments));
|
|
1957
1957
|
}
|
|
1958
|
-
|
|
1958
|
+
ct(l, e, r, { once: !0 }), e !== "error" && $t(l, i, { once: !0 });
|
|
1959
1959
|
});
|
|
1960
1960
|
}
|
|
1961
1961
|
function $t(l, e, t) {
|
|
1962
|
-
typeof l.on == "function" &&
|
|
1962
|
+
typeof l.on == "function" && ct(l, "error", e, t);
|
|
1963
1963
|
}
|
|
1964
|
-
function
|
|
1964
|
+
function ct(l, e, t, s) {
|
|
1965
1965
|
if (typeof l.on == "function")
|
|
1966
1966
|
s.once ? l.once(e, t) : l.on(e, t);
|
|
1967
1967
|
else if (typeof l.addEventListener == "function")
|
|
@@ -1978,7 +1978,7 @@ const Qt = {
|
|
|
1978
1978
|
powerPreference: "high-performance",
|
|
1979
1979
|
toneMappingExposure: 1,
|
|
1980
1980
|
alpha: !1,
|
|
1981
|
-
outputColorSpace:
|
|
1981
|
+
outputColorSpace: Pt.sRGB,
|
|
1982
1982
|
logarithmicDepthBuffer: !1,
|
|
1983
1983
|
preserveDrawingBuffer: !1,
|
|
1984
1984
|
stencil: !1,
|
|
@@ -2119,7 +2119,7 @@ class ne {
|
|
|
2119
2119
|
}), this.removePage(0), this.controllerMap.clear(), this.event.removeAllListeners(), this.activeControllerSet.clear();
|
|
2120
2120
|
}
|
|
2121
2121
|
}
|
|
2122
|
-
const
|
|
2122
|
+
const dt = {
|
|
2123
2123
|
fov: 45,
|
|
2124
2124
|
near: 1,
|
|
2125
2125
|
far: 1e3,
|
|
@@ -2132,7 +2132,7 @@ class is extends ne {
|
|
|
2132
2132
|
get camera() {
|
|
2133
2133
|
return this.controller;
|
|
2134
2134
|
}
|
|
2135
|
-
addPerspectiveCamera(e =
|
|
2135
|
+
addPerspectiveCamera(e = dt, t) {
|
|
2136
2136
|
const { fov: s, far: i, near: r, up: o, aspect: n } = e, h = n != null ? n : this.width / this.height, d = new O.PerspectiveCamera(s, h, r, i);
|
|
2137
2137
|
return d.up = o, this.addController(d, t);
|
|
2138
2138
|
}
|
|
@@ -2221,7 +2221,7 @@ class os extends ne {
|
|
|
2221
2221
|
}
|
|
2222
2222
|
removePage(e) {
|
|
2223
2223
|
super.removePage(e, (t) => {
|
|
2224
|
-
const s = new
|
|
2224
|
+
const s = new At();
|
|
2225
2225
|
s.track(t), s.dispose();
|
|
2226
2226
|
});
|
|
2227
2227
|
}
|
|
@@ -2252,7 +2252,7 @@ class ns {
|
|
|
2252
2252
|
else if (e.isHemisphereLight)
|
|
2253
2253
|
i = new O.HemisphereLightHelper(e, 10);
|
|
2254
2254
|
else if (e.isRectAreaLight)
|
|
2255
|
-
i = new
|
|
2255
|
+
i = new Dt(e);
|
|
2256
2256
|
else {
|
|
2257
2257
|
const r = new O.Box3();
|
|
2258
2258
|
if (r.setFromObject(e, !0), r.isEmpty() === !1) {
|
|
@@ -2266,7 +2266,7 @@ class ns {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
}
|
|
2268
2268
|
addViewHelper() {
|
|
2269
|
-
const { cameraController: e, container: t } = this.options, s = new
|
|
2269
|
+
const { cameraController: e, container: t } = this.options, s = new Rt(e.camera, t);
|
|
2270
2270
|
t.addEventListener("pointerdown", (i) => {
|
|
2271
2271
|
i.preventDefault(), s.handleClick(i);
|
|
2272
2272
|
}), this.viewHelper = s;
|
|
@@ -2354,7 +2354,7 @@ class as extends ne {
|
|
|
2354
2354
|
class hs {
|
|
2355
2355
|
constructor(e) {
|
|
2356
2356
|
this.event = new ge.EventEmitter();
|
|
2357
|
-
const { renderer: t, scene: s, camera: i } = e, r = new
|
|
2357
|
+
const { renderer: t, scene: s, camera: i } = e, r = new Ut(
|
|
2358
2358
|
i,
|
|
2359
2359
|
t.domElement
|
|
2360
2360
|
);
|
|
@@ -2420,8 +2420,13 @@ class hs {
|
|
|
2420
2420
|
this.event.removeAllListeners(), (e = this.controls) == null || e.dispose();
|
|
2421
2421
|
}
|
|
2422
2422
|
}
|
|
2423
|
-
const
|
|
2423
|
+
const Ze = new oe(), ls = new Et(), We = new oe(), I = new fe(), cs = new fe();
|
|
2424
2424
|
class ds {
|
|
2425
|
+
/**
|
|
2426
|
+
* Constructs a new CSS3D renderer.
|
|
2427
|
+
*
|
|
2428
|
+
* @param {CSS3DRenderer~Parameters} [parameters] - The parameters.
|
|
2429
|
+
*/
|
|
2425
2430
|
constructor(e = {}) {
|
|
2426
2431
|
const t = this;
|
|
2427
2432
|
let s, i, r, o;
|
|
@@ -2474,7 +2479,7 @@ class ds {
|
|
|
2474
2479
|
if (w.style.display = y === !0 ? "" : "none", y === !0) {
|
|
2475
2480
|
g.onBeforeRender(t, a, _);
|
|
2476
2481
|
let T;
|
|
2477
|
-
g.isCSS3DSprite ? (I.copy(_.matrixWorldInverse), I.transpose(), g.rotation2D !== 0 && I.multiply(cs.makeRotationZ(g.rotation2D)), g.matrixWorld.decompose(
|
|
2482
|
+
g.isCSS3DSprite ? (I.copy(_.matrixWorldInverse), I.transpose(), g.rotation2D !== 0 && I.multiply(cs.makeRotationZ(g.rotation2D)), g.matrixWorld.decompose(Ze, ls, We), I.setPosition(Ze), I.scale(We), I.elements[3] = 0, I.elements[7] = 0, I.elements[11] = 0, I.elements[15] = 1, T = v(I)) : T = v(g.matrixWorld);
|
|
2478
2483
|
const P = n.objects.get(g);
|
|
2479
2484
|
if (P === void 0 || P.style !== T) {
|
|
2480
2485
|
w.style.transform = T;
|
|
@@ -2489,8 +2494,13 @@ class ds {
|
|
|
2489
2494
|
}
|
|
2490
2495
|
}
|
|
2491
2496
|
}
|
|
2492
|
-
const X = new oe(),
|
|
2497
|
+
const X = new oe(), Ge = new fe(), Ke = new fe(), Xe = new oe(), qe = new oe();
|
|
2493
2498
|
class ps {
|
|
2499
|
+
/**
|
|
2500
|
+
* Constructs a new CSS2D renderer.
|
|
2501
|
+
*
|
|
2502
|
+
* @param {CSS2DRenderer~Parameters} [parameters] - The parameters.
|
|
2503
|
+
*/
|
|
2494
2504
|
constructor(e = {}) {
|
|
2495
2505
|
const t = this;
|
|
2496
2506
|
let s, i, r, o;
|
|
@@ -2503,7 +2513,7 @@ class ps {
|
|
|
2503
2513
|
height: i
|
|
2504
2514
|
};
|
|
2505
2515
|
}, this.render = function(m, u) {
|
|
2506
|
-
m.matrixWorldAutoUpdate === !0 && m.updateMatrixWorld(), u.parent === null && u.matrixWorldAutoUpdate === !0 && u.updateMatrixWorld(),
|
|
2516
|
+
m.matrixWorldAutoUpdate === !0 && m.updateMatrixWorld(), u.parent === null && u.matrixWorldAutoUpdate === !0 && u.updateMatrixWorld(), Ge.copy(u.matrixWorldInverse), Ke.multiplyMatrices(u.projectionMatrix, Ge), f(m, m, u), v(m);
|
|
2507
2517
|
}, this.setSize = function(m, u) {
|
|
2508
2518
|
s = m, i = u, r = s / 2, o = i / 2, h.style.width = m + "px", h.style.height = u + "px";
|
|
2509
2519
|
};
|
|
@@ -2518,7 +2528,7 @@ class ps {
|
|
|
2518
2528
|
return;
|
|
2519
2529
|
}
|
|
2520
2530
|
if (m.isCSS2DObject) {
|
|
2521
|
-
X.setFromMatrixPosition(m.matrixWorld), X.applyMatrix4(
|
|
2531
|
+
X.setFromMatrixPosition(m.matrixWorld), X.applyMatrix4(Ke);
|
|
2522
2532
|
const a = X.z >= -1 && X.z <= 1 && m.layers.test(g.layers) === !0, _ = m.element;
|
|
2523
2533
|
_.style.display = a === !0 ? "" : "none", a === !0 && (m.onBeforeRender(t, u, g), _.style.transform = "translate(" + -100 * m.center.x + "%," + -100 * m.center.y + "%)translate(" + (X.x * r + r) + "px," + (-X.y * o + o) + "px)", _.parentNode !== h && h.appendChild(_), m.onAfterRender(t, u, g));
|
|
2524
2534
|
const E = {
|
|
@@ -2530,7 +2540,7 @@ class ps {
|
|
|
2530
2540
|
f(m.children[a], u, g);
|
|
2531
2541
|
}
|
|
2532
2542
|
function p(m, u) {
|
|
2533
|
-
return
|
|
2543
|
+
return Xe.setFromMatrixPosition(m.matrixWorld), qe.setFromMatrixPosition(u.matrixWorld), Xe.distanceToSquared(qe);
|
|
2534
2544
|
}
|
|
2535
2545
|
function C(m) {
|
|
2536
2546
|
const u = [];
|
|
@@ -2550,7 +2560,7 @@ class ps {
|
|
|
2550
2560
|
}
|
|
2551
2561
|
}
|
|
2552
2562
|
}
|
|
2553
|
-
const
|
|
2563
|
+
const $e = {
|
|
2554
2564
|
zIndex: "auto"
|
|
2555
2565
|
};
|
|
2556
2566
|
class ms {
|
|
@@ -2651,6 +2661,10 @@ const us = {
|
|
|
2651
2661
|
|
|
2652
2662
|
gl_FragColor.rgb = NeutralToneMapping( gl_FragColor.rgb );
|
|
2653
2663
|
|
|
2664
|
+
#elif defined( CUSTOM_TONE_MAPPING )
|
|
2665
|
+
|
|
2666
|
+
gl_FragColor.rgb = CustomToneMapping( gl_FragColor.rgb );
|
|
2667
|
+
|
|
2654
2668
|
#endif
|
|
2655
2669
|
|
|
2656
2670
|
// color space
|
|
@@ -2668,12 +2682,12 @@ class fs extends Ft {
|
|
|
2668
2682
|
constructor() {
|
|
2669
2683
|
super();
|
|
2670
2684
|
const e = us;
|
|
2671
|
-
this.uniforms =
|
|
2685
|
+
this.uniforms = Ot.clone(e.uniforms), this.material = new Tt({
|
|
2672
2686
|
name: e.name,
|
|
2673
2687
|
uniforms: this.uniforms,
|
|
2674
2688
|
vertexShader: e.vertexShader,
|
|
2675
2689
|
fragmentShader: e.fragmentShader
|
|
2676
|
-
}), this.fsQuad = new
|
|
2690
|
+
}), this.fsQuad ? this.fsQuad = new De(this.material) : this._fsQuad && (this._fsQuad = new De(this.material));
|
|
2677
2691
|
}
|
|
2678
2692
|
}
|
|
2679
2693
|
const _s = (l) => {
|
|
@@ -2724,7 +2738,7 @@ const _s = (l) => {
|
|
|
2724
2738
|
}), Es = new O.SpriteMaterial({
|
|
2725
2739
|
color: "black",
|
|
2726
2740
|
sizeAttenuation: !1
|
|
2727
|
-
}), Os = new
|
|
2741
|
+
}), Os = new tt({
|
|
2728
2742
|
color: "black",
|
|
2729
2743
|
sizeAttenuation: 0,
|
|
2730
2744
|
lineWidth: 0
|
|
@@ -2762,7 +2776,7 @@ class bs {
|
|
|
2762
2776
|
}
|
|
2763
2777
|
), p = new Me(o, f), C = this.getSize();
|
|
2764
2778
|
p.setSize(C.width, C.height);
|
|
2765
|
-
const v = new
|
|
2779
|
+
const v = new zt(
|
|
2766
2780
|
s.scene,
|
|
2767
2781
|
i.camera
|
|
2768
2782
|
);
|
|
@@ -2786,7 +2800,7 @@ class bs {
|
|
|
2786
2800
|
this.outputPass && (this.outputPass.uniforms.premultiplieAlpha.value = e ? 1 : 0);
|
|
2787
2801
|
}
|
|
2788
2802
|
addSSAOPass(e) {
|
|
2789
|
-
const { scene: t, camera: s, renderer: i } = this, r = i.getSize(new O.Vector2()), o = r.width, n = r.height, h = new
|
|
2803
|
+
const { scene: t, camera: s, renderer: i } = this, r = i.getSize(new O.Vector2()), o = r.width, n = r.height, h = new kt(t, s, o, n);
|
|
2790
2804
|
h.kernelRadius = e.kernelRadius, h.minDistance = e.minDistance, h.maxDistance = e.maxDistance, this.ssaoPass = h, this.finalComposer.addPass(h);
|
|
2791
2805
|
}
|
|
2792
2806
|
addBloomPass(e) {
|
|
@@ -2834,7 +2848,7 @@ class bs {
|
|
|
2834
2848
|
s.traverse((i) => {
|
|
2835
2849
|
var h;
|
|
2836
2850
|
const r = i, o = i, n = i;
|
|
2837
|
-
(h = r.material) != null && h.isShadowMaterial ? e.push(r) : r.material && this.bloomLayer.test(r.layers) === !1 && (this.bloomMaterials[r.uuid] = r.material, o.isSprite ? o.material.sizeAttenuation ? o.material = Cs : o.material = Es : r.material instanceof
|
|
2851
|
+
(h = r.material) != null && h.isShadowMaterial ? e.push(r) : r.material && this.bloomLayer.test(r.layers) === !1 && (this.bloomMaterials[r.uuid] = r.material, o.isSprite ? o.material.sizeAttenuation ? o.material = Cs : o.material = Es : r.material instanceof tt ? r.material = Os : n.isPoints ? n.material.sizeAttenuation ? n.material = ys : n.material = vs : r.material = gs);
|
|
2838
2852
|
});
|
|
2839
2853
|
}), e.forEach((s) => {
|
|
2840
2854
|
this.bloomVisible[s.uuid] = s.visible, s.visible = !1;
|
|
@@ -2878,7 +2892,7 @@ class bs {
|
|
|
2878
2892
|
this.bloomMaterials = {}, this.bloomVisible = {}, this.bloomSelection.clear(), this.finalComposer.dispose(), (e = this.bloomComposer) == null || e.dispose();
|
|
2879
2893
|
}
|
|
2880
2894
|
}
|
|
2881
|
-
class
|
|
2895
|
+
class Qe extends O.Loader {
|
|
2882
2896
|
constructor(e) {
|
|
2883
2897
|
super(e), this.options = { type: "image" };
|
|
2884
2898
|
}
|
|
@@ -2990,13 +3004,13 @@ class Ss {
|
|
|
2990
3004
|
}
|
|
2991
3005
|
getLoader(e, t) {
|
|
2992
3006
|
if (e === "images")
|
|
2993
|
-
return this.textureLoader || (this.textureLoader = new
|
|
3007
|
+
return this.textureLoader || (this.textureLoader = new Qe(this.loadingManager), this.options.prefix && this.textureLoader.setPath(this.options.prefix)), this.textureLoader;
|
|
2994
3008
|
if (e === "media")
|
|
2995
|
-
return this.videoTextureLoader || (this.videoTextureLoader = new
|
|
3009
|
+
return this.videoTextureLoader || (this.videoTextureLoader = new Qe(this.loadingManager), this.videoTextureLoader.setOptions({ type: "video" }), this.options.prefix && this.videoTextureLoader.setPath(this.options.prefix)), this.videoTextureLoader;
|
|
2996
3010
|
if (e === "gltf" && (t != null && t.dracoPath))
|
|
2997
|
-
return this.dracoGltfLoader || (this.dracoGltfLoader = new
|
|
3011
|
+
return this.dracoGltfLoader || (this.dracoGltfLoader = new Re(this.loadingManager), this.dracoLoader = new It(), this.dracoLoader.setDecoderPath(t == null ? void 0 : t.dracoPath), this.dracoGltfLoader.setDRACOLoader(this.dracoLoader), this.options.prefix && this.dracoGltfLoader.setPath(this.options.prefix)), this.dracoGltfLoader;
|
|
2998
3012
|
if (e === "gltf")
|
|
2999
|
-
return this.gltfLoader || (this.gltfLoader = new
|
|
3013
|
+
return this.gltfLoader || (this.gltfLoader = new Re(this.loadingManager), this.options.prefix && this.gltfLoader.setPath(this.options.prefix)), this.gltfLoader;
|
|
3000
3014
|
if (e === "lottie")
|
|
3001
3015
|
return this.lottieLoader || (this.lottieLoader = new Vt(this.loadingManager), this.options.prefix && this.lottieLoader.setPath(this.options.prefix)), this.lottieLoader;
|
|
3002
3016
|
if (e === "gzipJson")
|
|
@@ -3050,7 +3064,7 @@ class Ss {
|
|
|
3050
3064
|
try {
|
|
3051
3065
|
const d = yield o.loadAsync(e);
|
|
3052
3066
|
if (this.assets.set(e, d), r.resolve(d), s === "images" || s === "media" || s === "exr" || s === "lottie") {
|
|
3053
|
-
(t == null ? void 0 : t.colorCorrection) !== !1 &&
|
|
3067
|
+
(t == null ? void 0 : t.colorCorrection) !== !1 && Lt({ texture: d });
|
|
3054
3068
|
const f = (h = t == null ? void 0 : t.anisotropy) != null ? h : this.options.anisotropy;
|
|
3055
3069
|
d.anisotropy = f;
|
|
3056
3070
|
}
|
|
@@ -3116,7 +3130,7 @@ class Ms extends ne {
|
|
|
3116
3130
|
});
|
|
3117
3131
|
}
|
|
3118
3132
|
}
|
|
3119
|
-
class Ds extends
|
|
3133
|
+
class Ds extends Mt {
|
|
3120
3134
|
constructor(e) {
|
|
3121
3135
|
super(), this.options = z({}, e);
|
|
3122
3136
|
}
|
|
@@ -3125,7 +3139,7 @@ class Ds extends At {
|
|
|
3125
3139
|
this.object3d = (e = this.options.scene) != null ? e : new O.Scene();
|
|
3126
3140
|
}
|
|
3127
3141
|
}
|
|
3128
|
-
function
|
|
3142
|
+
function Je(l) {
|
|
3129
3143
|
let e = !1, t = [];
|
|
3130
3144
|
return function(...s) {
|
|
3131
3145
|
t = s, e || (e = !0, requestAnimationFrame(() => {
|
|
@@ -3182,7 +3196,7 @@ class Rs {
|
|
|
3182
3196
|
};
|
|
3183
3197
|
this.domElement.addEventListener(
|
|
3184
3198
|
`pointer${e}`,
|
|
3185
|
-
|
|
3199
|
+
Je(i),
|
|
3186
3200
|
{ passive: !1 }
|
|
3187
3201
|
);
|
|
3188
3202
|
}
|
|
@@ -3306,7 +3320,7 @@ class Rs {
|
|
|
3306
3320
|
mouseEvent: p
|
|
3307
3321
|
}));
|
|
3308
3322
|
}, f = `pointer${t}`;
|
|
3309
|
-
h.element.addEventListener(f,
|
|
3323
|
+
h.element.addEventListener(f, Je(d), !1), o.push({ arr: h, type: f, listener: d });
|
|
3310
3324
|
}
|
|
3311
3325
|
return this.pickNodeFunctionsMap.set(i, o), i;
|
|
3312
3326
|
}
|
|
@@ -3387,7 +3401,7 @@ class Us extends Rs {
|
|
|
3387
3401
|
const [, n] = s.split("#");
|
|
3388
3402
|
o = o.replace("$p:", n);
|
|
3389
3403
|
}
|
|
3390
|
-
return this.objects.has(o) && (o.includes("#") ? o += `-${
|
|
3404
|
+
return this.objects.has(o) && (o.includes("#") ? o += `-${Ue()}` : o += `#${Ue()}`), e.key = o, this.objects.set(o, e), o;
|
|
3391
3405
|
}
|
|
3392
3406
|
updateBaseObjectKey(e, t) {
|
|
3393
3407
|
var o;
|
|
@@ -3481,8 +3495,8 @@ class zs extends ne {
|
|
|
3481
3495
|
const ue = class ue {
|
|
3482
3496
|
constructor(e) {
|
|
3483
3497
|
var r, o;
|
|
3484
|
-
this.raycaster = new O.Raycaster(), this.maxBackufferArea = 5760 * 5760, this.installPlugins = /* @__PURE__ */ new Map(), this._cameraPositon = new O.Vector3(), this._cameraTarget = new O.Vector3(), this.event = new ge.EventEmitter(), this.timer = new
|
|
3485
|
-
isMergeableObject:
|
|
3498
|
+
this.raycaster = new O.Raycaster(), this.maxBackufferArea = 5760 * 5760, this.installPlugins = /* @__PURE__ */ new Map(), this._cameraPositon = new O.Vector3(), this._cameraTarget = new O.Vector3(), this.event = new ge.EventEmitter(), this.timer = new xt(), this.userData = {}, this.pageActiveIndex = 0, this.pageCountIndex = 0, this.userSetDprCache = 1, this.event.setMaxListeners(1 / 0), (o = (r = this.timer).connect) == null || o.call(r, document), this.options = wt(ue.options, e, {
|
|
3499
|
+
isMergeableObject: St
|
|
3486
3500
|
}), this.userSetDprCache = this.options.renderer.devicePixelRatio;
|
|
3487
3501
|
const {
|
|
3488
3502
|
container: t,
|
|
@@ -3490,7 +3504,7 @@ const ue = class ue {
|
|
|
3490
3504
|
transformControls: i
|
|
3491
3505
|
} = this.options;
|
|
3492
3506
|
if (this.init(), this.options.WebGPUTHREE || this.initComposer(), this.initCSSRenderer(), i && this.initTransformControls(), s) {
|
|
3493
|
-
const n = new
|
|
3507
|
+
const n = new bt({
|
|
3494
3508
|
horizontal: !1
|
|
3495
3509
|
});
|
|
3496
3510
|
n.dom.style.position = "absolute", n.init(this.renderer), t.appendChild(n.dom), this.stats = n;
|
|
@@ -3774,23 +3788,23 @@ ue.options = {
|
|
|
3774
3788
|
renderer: Qt,
|
|
3775
3789
|
composer: ws,
|
|
3776
3790
|
scene: rs,
|
|
3777
|
-
camera:
|
|
3791
|
+
camera: dt,
|
|
3778
3792
|
bloom: !1,
|
|
3779
3793
|
bloomParams: xs,
|
|
3780
3794
|
ssao: !1,
|
|
3781
3795
|
loader: As,
|
|
3782
3796
|
ssaoParams: Ts,
|
|
3783
3797
|
css2DRenderer: !1,
|
|
3784
|
-
css2DRendererParams: z({},
|
|
3798
|
+
css2DRendererParams: z({}, $e),
|
|
3785
3799
|
css3DRenderer: !1,
|
|
3786
|
-
css3DRendererParams: z({},
|
|
3800
|
+
css3DRendererParams: z({}, $e)
|
|
3787
3801
|
};
|
|
3788
|
-
let
|
|
3802
|
+
let et = ue;
|
|
3789
3803
|
const fi = $.ACTION;
|
|
3790
3804
|
export {
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3805
|
+
Mt as BaseObject,
|
|
3806
|
+
et as Pencil,
|
|
3807
|
+
At as ResourceTracker,
|
|
3794
3808
|
fi as cameraControlsAction,
|
|
3795
|
-
|
|
3809
|
+
et as default
|
|
3796
3810
|
};
|