@vitessce/comparative 4.0.6 → 4.0.8
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/GeometryAndMeshXR-Czj8vHZc.js +137 -0
- package/dist/{ReactNeuroglancer-CbPe9WCz.js → ReactNeuroglancer-a-ZxN2yP.js} +12 -8
- package/dist/{XREnterButton-DtiXB-74.js → XREnterButton-I6uowpW7.js} +4 -4
- package/dist/XRSceneComponents-DKq4yR3G.js +48 -0
- package/dist/XRWrapper-BYpD9gRj.js +10 -0
- package/dist/{deflate-BxTfKZza.js → deflate-BsAMUoGX.js} +1 -1
- package/dist/{higlass-_VCBPyLz.js → higlass-CaFDdo3T.js} +1 -1
- package/dist/{index-DeTFenDS.js → index-CgUij3tX.js} +1 -1
- package/dist/{index-C1X7v-Zh.js → index-DE6moyYb.js} +40005 -39947
- package/dist/{index-BtgW7VSe.js → index-l9xLf9qw.js} +4 -4
- package/dist/index.min.js +1 -1
- package/dist/{jpeg-CX3NedG6.js → jpeg-pwtWOHdF.js} +1 -1
- package/dist/{lerc-CJWWMGcc.js → lerc-zRJk5Jb9.js} +1 -1
- package/dist/{lzw-DlfK1XQl.js → lzw--NaCYq4J.js} +1 -1
- package/dist/{packbits-DJF923C1.js → packbits-CLBWwNRB.js} +1 -1
- package/dist/{raw-TIuLKEwd.js → raw-CJbqnGFa.js} +1 -1
- package/dist/{webimage-mn-K6LQl.js → webimage-CPz1oQzQ.js} +1 -1
- package/dist/xrStore-1uKA7v5e.js +11 -0
- package/dist-tsc/BiomarkerSelect.js +1 -1
- package/dist-tsc/BiomarkerSelect.js.map +1 -1
- package/dist-tsc/ComparativeConfig.d.ts.map +1 -1
- package/dist-tsc/ComparativeConfig.js +38 -14
- package/dist-tsc/ComparativeConfig.js.map +1 -1
- package/dist-tsc/ControlledComparative.js +1 -1
- package/dist-tsc/ControlledComparative.js.map +1 -1
- package/package.json +11 -11
- package/src/BiomarkerSelect.jsx +1 -1
- package/src/ComparativeConfig.jsx +69 -28
- package/src/ControlledComparative.jsx +1 -1
- package/dist/GeometryAndMeshXR-RzGniQ1I.js +0 -138
- package/dist/XRSceneComponents-DqrHOYfC.js +0 -50
- package/dist/XRWrapper-BSYvV6ZL.js +0 -10
- package/dist/xrStore-D1fXVa3V.js +0 -8
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { jsxs as g, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as r, useEffect as Se, useState as B } from "react";
|
|
3
|
+
import { useThree as xe, useFrame as be } from "@react-three/fiber";
|
|
4
|
+
import { Bvh as Fe } from "@react-three/drei";
|
|
5
|
+
import { Matrix4 as ye, Vector3 as P, Box3 as N, FrontSide as se } from "three";
|
|
6
|
+
import { g as Le, i as we, M as W, s as ce } from "./index-l9xLf9qw.js";
|
|
7
|
+
function Be(a, d) {
|
|
8
|
+
return a.get(d);
|
|
9
|
+
}
|
|
10
|
+
function V(a, d, S, f) {
|
|
11
|
+
if (!a?.inputSource?.hand)
|
|
12
|
+
return null;
|
|
13
|
+
const F = Be(a.inputSource.hand, d);
|
|
14
|
+
if (!F)
|
|
15
|
+
return null;
|
|
16
|
+
const i = S.getJointPose?.(F, f);
|
|
17
|
+
return i ? new P(i.transform.position.x, i.transform.position.y, i.transform.position.z) : null;
|
|
18
|
+
}
|
|
19
|
+
function U(a, d, S, f = 0.02) {
|
|
20
|
+
const F = V(a, "thumb-tip", d, S), i = V(a, "index-finger-tip", d, S);
|
|
21
|
+
return !F || !i ? !1 : F.distanceTo(i) < f;
|
|
22
|
+
}
|
|
23
|
+
function De(a) {
|
|
24
|
+
const { useXR: d, useXRInputSourceState: S } = Le(), { segmentationGroup: f, segmentationSettings: F, segmentationSceneScale: i, renderingSettings: t, materialRef: v, highlightEntity: ae, setObsHighlight: E } = a, D = r(null), le = r(null), o = r(null), p = r(null);
|
|
25
|
+
r(new ye());
|
|
26
|
+
const I = r(null), x = r(null), O = r(0), h = r(/* @__PURE__ */ new Map()), y = d((e) => e.session) != null;
|
|
27
|
+
Se(() => {
|
|
28
|
+
v?.current?.material?.uniforms?.u_physical_Pixel && (v.current.material.uniforms.u_physical_Pixel.value = y ? 0.2 : 2.5);
|
|
29
|
+
}, [y, v]);
|
|
30
|
+
const { scene: k, gl: ue } = xe(), X = S("hand", "right"), J = S("hand", "left"), [A, q] = B(!1), [Q, Y] = B(!1), [de, Z] = B(!1), [K, C] = B({
|
|
31
|
+
startPoint: new P(),
|
|
32
|
+
midPoint: new P(),
|
|
33
|
+
endPoint: new P(),
|
|
34
|
+
setStartPoint: !1,
|
|
35
|
+
setEndPoint: !1
|
|
36
|
+
}), [G, fe] = B([]), [$, _] = B(0), ee = r(A);
|
|
37
|
+
ee.current = A;
|
|
38
|
+
const te = r(Q);
|
|
39
|
+
te.current = Q;
|
|
40
|
+
const ne = r(K);
|
|
41
|
+
ne.current = K;
|
|
42
|
+
const pe = r(G);
|
|
43
|
+
pe.current = G;
|
|
44
|
+
const re = r($);
|
|
45
|
+
re.current = $, be((e, L, s) => {
|
|
46
|
+
if (!y || !s)
|
|
47
|
+
return;
|
|
48
|
+
const c = ue.xr.getReferenceSpace();
|
|
49
|
+
if (!c)
|
|
50
|
+
return;
|
|
51
|
+
const b = k.getObjectByName("rightTipBbox"), R = k.getObjectByName("leftTipBbox");
|
|
52
|
+
if (!b || !R)
|
|
53
|
+
return;
|
|
54
|
+
const z = new N().setFromObject(R), j = new N().setFromObject(b);
|
|
55
|
+
let H = !1;
|
|
56
|
+
_((u) => u - 1), z.intersectsBox(j) && z.max.x !== -j.min.x && (q(!0), Z(!0), C({
|
|
57
|
+
startPoint: new P(),
|
|
58
|
+
midPoint: new P(),
|
|
59
|
+
endPoint: new P(),
|
|
60
|
+
setStartPoint: !1,
|
|
61
|
+
setEndPoint: !1
|
|
62
|
+
}));
|
|
63
|
+
const Pe = ee.current, l = ne.current;
|
|
64
|
+
if (Pe) {
|
|
65
|
+
let u = V(J, "index-finger-tip", s, c), M = V(X, "index-finger-tip", s, c);
|
|
66
|
+
if (!u || !M)
|
|
67
|
+
return;
|
|
68
|
+
o.current && (u = u.applyMatrix4(o.current.matrixWorld.clone().invert()), M = M.applyMatrix4(o.current.matrixWorld.clone().invert()));
|
|
69
|
+
let T = u.clone(), w = M.clone();
|
|
70
|
+
l.setStartPoint && (T = l.startPoint), l.setEndPoint && (w = l.endPoint), C({
|
|
71
|
+
startPoint: T,
|
|
72
|
+
midPoint: new P().addVectors(T, w).multiplyScalar(0.5),
|
|
73
|
+
endPoint: w,
|
|
74
|
+
setStartPoint: l.setStartPoint,
|
|
75
|
+
setEndPoint: l.setEndPoint
|
|
76
|
+
}), U(X, s, c) && C((m) => ({
|
|
77
|
+
...m,
|
|
78
|
+
setEndPoint: !0
|
|
79
|
+
})), U(J, s, c) && C((m) => ({
|
|
80
|
+
...m,
|
|
81
|
+
setStartPoint: !0
|
|
82
|
+
})), l.setStartPoint && l.setEndPoint && (fe((m) => [...m, l]), Z(!1), q(!1), _(8));
|
|
83
|
+
} else if (re.current <= 0 && D.current && y) {
|
|
84
|
+
const u = D.current;
|
|
85
|
+
u.children[0].children.forEach((M, T) => {
|
|
86
|
+
const w = u.children[0].children[T], m = new N().setFromObject(w), ie = z.intersectsBox(m), oe = j.intersectsBox(m);
|
|
87
|
+
(ie || oe) && (H = !0, E(w.name), Y(!0), ie && U(J, s, c) && (_(10), H = !1), oe && U(X, s, c) && (_(10), H = !1));
|
|
88
|
+
}), !H && te.current && (E(null), Y(!1));
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
const he = (e) => {
|
|
92
|
+
if (y) {
|
|
93
|
+
if (e.stopPropagation(), e.target.setPointerCapture(e.pointerId), p.current === null)
|
|
94
|
+
p.current = e.pointerId, h.current.set(e.pointerId, e.point.clone()), o.current && (I.current = o.current.scale.clone());
|
|
95
|
+
else if (x.current === null && e.pointerId !== p.current) {
|
|
96
|
+
x.current = e.pointerId, h.current.set(e.pointerId, e.point.clone());
|
|
97
|
+
const L = h.current.get(p.current), s = e.point;
|
|
98
|
+
L && (O.current = L.distanceTo(s)), o.current && (I.current = o.current.scale.clone());
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}, me = (e) => {
|
|
102
|
+
e.target.releasePointerCapture(e.pointerId), h.current.delete(e.pointerId), p.current === e.pointerId && (p.current = null, I.current = null), x.current === e.pointerId && (x.current = null, O.current = 0);
|
|
103
|
+
}, ge = (e) => {
|
|
104
|
+
if (!o.current || !e.point)
|
|
105
|
+
return;
|
|
106
|
+
const L = p.current === e.pointerId, s = x.current === e.pointerId;
|
|
107
|
+
if (!L && !s)
|
|
108
|
+
return;
|
|
109
|
+
const c = h.current.get(e.pointerId);
|
|
110
|
+
if (h.current.set(e.pointerId, e.point.clone()), x.current !== null && O.current > 0 && I.current) {
|
|
111
|
+
const b = h.current.get(p.current), R = h.current.get(x.current);
|
|
112
|
+
if (b && R) {
|
|
113
|
+
const j = b.distanceTo(R) / O.current;
|
|
114
|
+
o.current.scale.copy(I.current).multiplyScalar(j);
|
|
115
|
+
}
|
|
116
|
+
} else if (L && c) {
|
|
117
|
+
const b = e.point.clone().sub(c);
|
|
118
|
+
o.current.position.add(b);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
return y ? g("group", { children: [g("group", { ref: o, onPointerDown: he, onPointerUp: me, onPointerMove: ge, children: [f?.visible ? g("group", { children: [n("hemisphereLight", { color: 8421504, groundColor: 6316128 }), n("directionalLight", { color: 16777215, position: [0, -800, 0] }), n("primitive", { ref: D, object: f, position: [-0.18, 1.13, -1], scale: [
|
|
122
|
+
2e-3 * i[0],
|
|
123
|
+
2e-3 * i[1],
|
|
124
|
+
2e-3 * i[2]
|
|
125
|
+
] })] }) : null, t.uniforms && t.shader && t.meshScale ? n("group", { children: g("mesh", { name: "cube", position: [-0.18, 1.13, -1], rotation: [0, 0, 0], scale: [
|
|
126
|
+
2e-3 * t.meshScale[0],
|
|
127
|
+
2e-3 * t.meshScale[1],
|
|
128
|
+
2e-3 * t.meshScale[2]
|
|
129
|
+
], ref: v, children: [we(t.geometrySize) && n("boxGeometry", { args: t.geometrySize }), n("shaderMaterial", { customProgramCacheKey: () => "1", side: se, uniforms: t.uniforms, needsUpdate: !0, transparent: !0, vertexShader: t.shader.vertexShader, fragmentShader: t.shader.fragmentShader })] }) }) : null] }), n("group", { name: "currentLine", ref: le, children: de ? n(W, { currentLine: K, scale: 1 / 2e-3 * 0.4 }) : null }), n("group", { name: "lines", children: G.map((e) => n(W, { currentLine: e, scale: 1 / 2e-3 * 0.4 }, ce(e))) })] }) : g("group", { children: [g("group", { children: [f?.visible ? g("group", { children: [n("hemisphereLight", { color: 8421504, groundColor: 6316128 }), n("directionalLight", { color: 16777215, position: [0, -800, 0] }), n("directionalLight", { color: 16777215, position: [0, 800, 0] }), n(Fe, { firstHitOnly: !0, children: n("primitive", { ref: D, object: f, position: [0, 0, 0], onClick: (e) => {
|
|
130
|
+
e.object.parent?.userData.name === "finalPass" && ae(e.object.name, e.object.userData.layerScope, e.object.userData.channelScope);
|
|
131
|
+
}, onPointerOver: (e) => {
|
|
132
|
+
E(e.object.name);
|
|
133
|
+
}, onPointerOut: () => E(null) }) })] }) : null, t.uniforms && t.shader && t.meshScale && t.geometrySize ? n("group", { children: g("mesh", { scale: t.meshScale, ref: v, children: [n("boxGeometry", { args: t.geometrySize }), n("shaderMaterial", { customProgramCacheKey: () => "1", side: se, uniforms: t.uniforms, needsUpdate: !0, transparent: !0, vertexShader: t.shader.vertexShader, fragmentShader: t.shader.fragmentShader })] }) }) : null] }), n("group", { name: "lines", children: G.map((e) => n(W, { currentLine: e, scale: 1 }, ce(e))) })] });
|
|
134
|
+
}
|
|
135
|
+
export {
|
|
136
|
+
De as default
|
|
137
|
+
};
|
|
@@ -3,7 +3,7 @@ var g_ = (i, e, t) => e in i ? p_(i, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Fn = (i, e, t) => g_(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { jsx as m_, jsxs as v_ } from "react/jsx-runtime";
|
|
5
5
|
import Hb from "react";
|
|
6
|
-
import { b as Qe, r as y_, h as Vt, j as ut, k as Hv, m as qv, n as Gk, o as jv, p as Nr, q as Jv, s as aa, t as Ro, v as Ao, w as Wk, x as oa, y as qu, z as Or, A as ju, D as Ju, E as xs, F as S_, G as b_, H as w_, I as Ku, J as C_, K as x_, M as Hk, N as Yu, O as E_, P as k_, Q as T_, R as L_, S as D_, T as Kv, U as qk, V as I_, W as Yv, X as P_, Y as R_, Z as A_, _ as __, $ as M_, a0 as N_, a1 as O_, a2 as V_, a3 as B_, a4 as qb, a5 as F_ } from "./index-
|
|
6
|
+
import { b as Qe, r as y_, h as Vt, j as ut, k as Hv, m as qv, n as Gk, o as jv, p as Nr, q as Jv, s as aa, t as Ro, v as Ao, w as Wk, x as oa, y as qu, z as Or, A as ju, D as Ju, E as xs, F as S_, G as b_, H as w_, I as Ku, J as C_, K as x_, M as Hk, N as Yu, O as E_, P as k_, Q as T_, R as L_, S as D_, T as Kv, U as qk, V as I_, W as Yv, X as P_, Y as R_, Z as A_, _ as __, $ as M_, a0 as N_, a1 as O_, a2 as V_, a3 as B_, a4 as qb, a5 as F_ } from "./index-DE6moyYb.js";
|
|
7
7
|
var U_ = y_();
|
|
8
8
|
const H = /* @__PURE__ */ Qe(U_);
|
|
9
9
|
var jb = {}, Nf, Jb;
|
|
@@ -2773,7 +2773,7 @@ const Dr = [_e.POINT, _e.LINE, _e.AXIS_ALIGNED_BOUNDING_BOX, _e.ELLIPSOID, _e.SP
|
|
|
2773
2773
|
},
|
|
2774
2774
|
int8: {
|
|
2775
2775
|
serializedBytes() {
|
|
2776
|
-
return
|
|
2776
|
+
return 1;
|
|
2777
2777
|
},
|
|
2778
2778
|
alignment() {
|
|
2779
2779
|
return 1;
|
|
@@ -8163,15 +8163,19 @@ function JB(i, e) {
|
|
|
8163
8163
|
function qL(i, e, t) {
|
|
8164
8164
|
const n = i.curPositionInChunks, r = i.fixedPositionWithinChunk, s = i.nonDisplayLowerClipBound, a = i.nonDisplayUpperClipBound;
|
|
8165
8165
|
var l = i.source.spec;
|
|
8166
|
-
const d = l.rank, u = l.chunkDataSize;
|
|
8166
|
+
const d = l.rank, u = l.chunkDataSize, h = l.lowerChunkBound, g = l.upperChunkBound;
|
|
8167
8167
|
if (!Yl(n, e, t, i.layerRank, i.fixedLayerToChunkTransform))
|
|
8168
8168
|
return !1;
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8169
|
+
const v = 1e-3;
|
|
8170
|
+
for (let y = 0; y < d; ++y) {
|
|
8171
|
+
const C = n[y];
|
|
8172
|
+
if (C < s[y] - v || C > a[y] + v)
|
|
8172
8173
|
return !1;
|
|
8173
|
-
const
|
|
8174
|
-
|
|
8174
|
+
const w = u[y], b = n[y] = Math.min(
|
|
8175
|
+
g[y] - 1,
|
|
8176
|
+
Math.max(h[y], Math.floor(C / w))
|
|
8177
|
+
);
|
|
8178
|
+
r[y] = C - b * w;
|
|
8175
8179
|
}
|
|
8176
8180
|
return !0;
|
|
8177
8181
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useEffect as o } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { g as r } from "./xrStore-1uKA7v5e.js";
|
|
4
4
|
function b() {
|
|
5
5
|
const [i, u] = s(!1), [n, a] = s(!1);
|
|
6
6
|
return o(() => {
|
|
@@ -11,14 +11,14 @@ function b() {
|
|
|
11
11
|
}), () => {
|
|
12
12
|
e = !0;
|
|
13
13
|
};
|
|
14
|
-
}, []), o(() => r.subscribe((t) => {
|
|
14
|
+
}, []), o(() => r().subscribe((t) => {
|
|
15
15
|
a(t.session != null);
|
|
16
16
|
}), []), i ? l("button", { type: "button", onClick: () => {
|
|
17
17
|
if (n) {
|
|
18
|
-
const { session: e } = r.getState();
|
|
18
|
+
const { session: e } = r().getState();
|
|
19
19
|
e && e.end();
|
|
20
20
|
} else
|
|
21
|
-
r.enterAR();
|
|
21
|
+
r().enterAR();
|
|
22
22
|
}, style: {
|
|
23
23
|
border: "1px solid white",
|
|
24
24
|
padding: "12px 24px",
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as c, Fragment as d, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as m } from "react";
|
|
3
|
+
import { useThree as g, useFrame as h } from "@react-three/fiber";
|
|
4
|
+
import { g as x } from "./index-l9xLf9qw.js";
|
|
5
|
+
function l(n, r) {
|
|
6
|
+
return n.get(r);
|
|
7
|
+
}
|
|
8
|
+
function S() {
|
|
9
|
+
const { useXRInputSourceState: n } = x(), r = n("hand", "right"), a = n("hand", "left"), t = m(null), o = m(null), { gl: f } = g();
|
|
10
|
+
return h((y, b, u) => {
|
|
11
|
+
if (!u || !f.xr.isPresenting)
|
|
12
|
+
return;
|
|
13
|
+
const p = f.xr.getReferenceSpace();
|
|
14
|
+
if (p) {
|
|
15
|
+
if (r?.inputSource?.hand && t.current) {
|
|
16
|
+
const s = l(r.inputSource.hand, "index-finger-tip");
|
|
17
|
+
if (s) {
|
|
18
|
+
const e = u.getJointPose?.(s, p);
|
|
19
|
+
e && t.current.position.set(e.transform.position.x, e.transform.position.y, e.transform.position.z);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
if (a?.inputSource?.hand && o.current) {
|
|
23
|
+
const s = l(a.inputSource.hand, "index-finger-tip");
|
|
24
|
+
if (s) {
|
|
25
|
+
const e = u.getJointPose?.(s, p);
|
|
26
|
+
e && o.current.position.set(e.transform.position.x, e.transform.position.y, e.transform.position.z);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}), c(d, { children: [c("mesh", { name: "leftTipBbox", ref: o, children: [i("boxGeometry", { args: [0.02, 0.02, 0.02] }), i("meshStandardMaterial", { color: "blue", transparent: !0, opacity: 0 })] }), c("mesh", { name: "rightTipBbox", ref: t, children: [i("boxGeometry", { args: [0.02, 0.02, 0.02] }), i("meshStandardMaterial", { color: "orange", transparent: !0, opacity: 0 })] })] });
|
|
31
|
+
}
|
|
32
|
+
function R() {
|
|
33
|
+
const { useXR: n } = x(), r = n((t) => t.session), { scene: a } = g();
|
|
34
|
+
return h(() => {
|
|
35
|
+
r && a.traverse((t) => {
|
|
36
|
+
if (t.isMesh && t.material && t.userData?.xpiHand) {
|
|
37
|
+
const o = t;
|
|
38
|
+
o.material.transparent = !0, o.material.opacity = 0.5;
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}), null;
|
|
42
|
+
}
|
|
43
|
+
function X() {
|
|
44
|
+
return c(d, { children: [i(S, {}), i(R, {})] });
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
X as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { g as e } from "./index-l9xLf9qw.js";
|
|
3
|
+
import { g as m } from "./xrStore-1uKA7v5e.js";
|
|
4
|
+
function f({ children: r }) {
|
|
5
|
+
const { XR: o } = e();
|
|
6
|
+
return t(o, { store: m(), children: r });
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
f as default
|
|
10
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as KY from "react";
|
|
2
2
|
import I, { createContext as op, isValidElement as ZY, PureComponent as ap, Component as sp, useMemo as Zt, useState as Ur, useRef as Mt, useEffect as ar, useCallback as zt, memo as QY, useContext as nl, useReducer as JY, useLayoutEffect as eK } from "react";
|
|
3
|
-
import { b as PB, e as e4, f as qO } from "./index-
|
|
3
|
+
import { b as PB, e as e4, f as qO } from "./index-DE6moyYb.js";
|
|
4
4
|
import ga, { unstable_batchedUpdates as Yp, createPortal as tK } from "react-dom";
|
|
5
5
|
import { jsx as Ic, jsxs as rK } from "react/jsx-runtime";
|
|
6
6
|
function nK(t) {
|
|
@@ -4,7 +4,7 @@ import { useThree as ve, useFrame as Me, Canvas as Pe } from "@react-three/fiber
|
|
|
4
4
|
import { OrbitControls as me } from "@react-three/drei";
|
|
5
5
|
import * as M from "three";
|
|
6
6
|
import { Data3DTexture as ge, RedFormat as Ae, UnsignedByteType as Be, LinearFilter as pe, RedIntegerFormat as Ne, UnsignedIntType as Ue, NearestFilter as xe, Vector3 as R, Vector2 as _, Vector4 as j, UniformsUtils as Le } from "three";
|
|
7
|
-
import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-
|
|
7
|
+
import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-DE6moyYb.js";
|
|
8
8
|
const w = 32, B = 64, Z = 64, fe = 4, ce = B * Z * fe, be = B * w, _e = Z * w, Ce = fe * w, V = {
|
|
9
9
|
NOT_STARTED: "not_started",
|
|
10
10
|
IN_PROGRESS: "in_progress",
|