@realsee/dnalogel 3.73.1-alpha.1 → 3.73.1-alpha.2
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/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +5 -0
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +3 -0
- package/dist/index.cjs.js +36 -36
- package/dist/index.js +1628 -1588
- package/dist/index.umd.js +32 -32
- package/libs/PanoTagPlugin/Components/TagItem.js +231 -219
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +5 -0
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +91 -80
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +3 -0
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +119 -102
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var G = Object.defineProperty;
|
|
2
|
+
var O = (M, l, e) => l in M ? G(M, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : M[l] = e;
|
|
3
|
+
var a = (M, l, e) => (O(M, typeof l != "symbol" ? l + "" : l, e), e);
|
|
4
|
+
var m = (M, l, e) => new Promise((t, i) => {
|
|
5
5
|
var s = (o) => {
|
|
6
6
|
try {
|
|
7
7
|
n(e.next(o));
|
|
8
|
-
} catch (
|
|
9
|
-
i(
|
|
8
|
+
} catch (d) {
|
|
9
|
+
i(d);
|
|
10
10
|
}
|
|
11
|
-
},
|
|
11
|
+
}, r = (o) => {
|
|
12
12
|
try {
|
|
13
13
|
n(e.throw(o));
|
|
14
|
-
} catch (
|
|
15
|
-
i(
|
|
14
|
+
} catch (d) {
|
|
15
|
+
i(d);
|
|
16
16
|
}
|
|
17
|
-
}, n = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(s,
|
|
18
|
-
n((e = e.apply(
|
|
17
|
+
}, n = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(s, r);
|
|
18
|
+
n((e = e.apply(M, l)).next());
|
|
19
19
|
});
|
|
20
20
|
import * as y from "three";
|
|
21
21
|
import { Vector3 as b } from "three";
|
|
22
22
|
import { centerPoint as I } from "../../../shared-utils/three/centerPoint.js";
|
|
23
|
-
import { loadPicture as
|
|
24
|
-
import { QuadrangleGeometry as F, QuadrangleMesh as
|
|
23
|
+
import { loadPicture as H } from "../../../shared-utils/three/loadTexture.js";
|
|
24
|
+
import { QuadrangleGeometry as F, QuadrangleMesh as S } from "../../../shared-utils/three/Quadrangle.js";
|
|
25
25
|
import { getVideoTexture as V } from "../../../shared-utils/three/loadVideoTexture.js";
|
|
26
|
-
import { Image_Play_Icon_With_Text as B, Image_Play_Icon as
|
|
27
|
-
import { getPositionsByObjectFit as
|
|
26
|
+
import { Image_Play_Icon_With_Text as B, Image_Play_Icon as E } from "../../Assets/Icon.js";
|
|
27
|
+
import { getPositionsByObjectFit as g } from "../../../shared-utils/three/getPositionsByObjectFit.js";
|
|
28
28
|
import { FragmentTransparencyMaterial as j } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
29
29
|
import { getNormal as P } from "../../../shared-utils/three/getNormal.js";
|
|
30
30
|
import { CONST as T } from "../../../shared-utils/constants.js";
|
|
31
31
|
import "../../../shared-utils/math/pointsIsRectangle.js";
|
|
32
32
|
import "../../../shared-utils/device.js";
|
|
33
|
-
class
|
|
33
|
+
class C extends y.Mesh {
|
|
34
34
|
constructor() {
|
|
35
35
|
super(...arguments);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
a(this, "name", "MediaPlane");
|
|
37
|
+
a(this, "src");
|
|
38
|
+
a(this, "objectFit");
|
|
39
39
|
}
|
|
40
40
|
/** 获取透明度 */
|
|
41
41
|
get opacity() {
|
|
@@ -66,79 +66,86 @@ class H extends y.Mesh {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
class
|
|
69
|
+
class J extends C {
|
|
70
70
|
constructor(e, t, i) {
|
|
71
|
-
var
|
|
71
|
+
var o, d;
|
|
72
72
|
super();
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
a(this, "name", "PanoTagPluginImagePlane");
|
|
74
|
+
a(this, "originRatio");
|
|
75
75
|
this.src = e;
|
|
76
|
-
const s = (
|
|
77
|
-
let
|
|
76
|
+
const s = (o = i == null ? void 0 : i.resolveZFighting) != null ? o : !0, r = (d = i == null ? void 0 : i.opacity) != null ? d : 1;
|
|
77
|
+
let n = t;
|
|
78
78
|
if (s) {
|
|
79
|
-
const
|
|
80
|
-
|
|
79
|
+
const h = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET);
|
|
80
|
+
n = t.map((c) => c.clone().add(h));
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
var
|
|
84
|
-
const v = new y.MeshBasicMaterial({
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
82
|
+
H(e).then(({ texture: h, transparent: c }) => {
|
|
83
|
+
var x;
|
|
84
|
+
const v = new y.MeshBasicMaterial({
|
|
85
|
+
map: h,
|
|
86
|
+
transparent: c || r < 1,
|
|
87
|
+
opacity: r,
|
|
88
|
+
side: y.DoubleSide
|
|
89
|
+
});
|
|
90
|
+
this.originRatio = h.image.width / h.image.height, this.objectFit = (x = i == null ? void 0 : i.objectFit) != null ? x : "contain";
|
|
91
|
+
const u = g(this.objectFit, n, h.image.width / h.image.height), p = I(...u), f = u.map((_) => _.clone().sub(p)), w = new F(f);
|
|
92
|
+
this.position.copy(p), this.geometry = w, this.material = v;
|
|
93
|
+
}).catch((h) => {
|
|
94
|
+
console.error(`Imageplane error: ${h == null ? void 0 : h.message}`);
|
|
90
95
|
});
|
|
91
96
|
}
|
|
92
97
|
changePointsOrParams(e) {
|
|
93
98
|
const { cornerPoints: t, params: i = {} } = e, { objectFit: s = this.objectFit } = i;
|
|
94
|
-
let
|
|
99
|
+
let r = t;
|
|
95
100
|
const { resolveZFighting: n } = i != null ? i : {};
|
|
96
101
|
if (n) {
|
|
97
|
-
const
|
|
98
|
-
|
|
102
|
+
const v = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET);
|
|
103
|
+
r = t.map((u) => u.clone().add(v));
|
|
99
104
|
}
|
|
100
|
-
const o =
|
|
101
|
-
this.objectFit = s != null ? s : "contain", this.position.copy(
|
|
105
|
+
const o = g(s != null ? s : "contain", r, this.originRatio), d = I(...o), h = o.map((v) => v.clone().sub(d)), c = new F(h);
|
|
106
|
+
this.objectFit = s != null ? s : "contain", this.position.copy(d), this.geometry = c;
|
|
102
107
|
}
|
|
103
108
|
}
|
|
104
|
-
class
|
|
109
|
+
class K extends C {
|
|
105
110
|
// eslint-disable-next-line max-params
|
|
106
111
|
constructor(e, t, i) {
|
|
107
112
|
const {
|
|
108
113
|
videoCoverSrc: s,
|
|
109
|
-
objectFit:
|
|
114
|
+
objectFit: r = "contain",
|
|
110
115
|
playButton: n = "withText",
|
|
111
116
|
paused: o = !0,
|
|
112
|
-
videoTextureMap:
|
|
113
|
-
ImageTextureMap:
|
|
114
|
-
domEvents: c
|
|
117
|
+
videoTextureMap: d,
|
|
118
|
+
ImageTextureMap: h,
|
|
119
|
+
domEvents: c,
|
|
120
|
+
opacity: v = 1
|
|
115
121
|
} = i != null ? i : {};
|
|
116
122
|
super();
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this
|
|
123
|
+
a(this, "isVideoPlane", !0);
|
|
124
|
+
a(this, "name", "PanoTagPluginImagePlane");
|
|
125
|
+
a(this, "videoInstance");
|
|
126
|
+
a(this, "onVideoReady");
|
|
127
|
+
a(this, "buttonSrc");
|
|
128
|
+
a(this, "videoCoverSrc");
|
|
129
|
+
a(this, "domEvents");
|
|
130
|
+
a(this, "disposers", []);
|
|
131
|
+
a(this, "cornerPoints");
|
|
132
|
+
a(this, "videoMesh");
|
|
133
|
+
a(this, "coverMesh");
|
|
134
|
+
a(this, "buttonMesh");
|
|
135
|
+
a(this, "videoTextureMap");
|
|
136
|
+
a(this, "ImageTextureMap");
|
|
137
|
+
a(this, "initialOpacity");
|
|
138
|
+
this.cornerPoints = t, this.src = e, this.initialOpacity = v, this.buttonSrc = (() => n === "withText" ? B : n === "withoutText" ? E : typeof n == "string" ? n : E)(), this.videoCoverSrc = s, this.objectFit = r, this.videoTextureMap = d, this.ImageTextureMap = h, this.domEvents = c, this.position.copy(I(...t)), this.videoCoverSrc && o ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
|
|
132
139
|
o ? this.addButtonMesh() : this.play(!0);
|
|
133
140
|
}), this.addEventListener("removed", () => {
|
|
134
141
|
this.remove(...this.children);
|
|
135
142
|
}), this.addEventListener("dispose", () => {
|
|
136
|
-
var
|
|
137
|
-
(
|
|
143
|
+
var u;
|
|
144
|
+
(u = this.disposers) == null || u.forEach((p) => p == null ? void 0 : p());
|
|
138
145
|
});
|
|
139
146
|
}
|
|
140
147
|
play(e = !1) {
|
|
141
|
-
return
|
|
148
|
+
return m(this, null, function* () {
|
|
142
149
|
this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((t) => {
|
|
143
150
|
this.pause(), console.error("play error", t);
|
|
144
151
|
}), this.videoInstance.muted = e, this.render();
|
|
@@ -158,7 +165,7 @@ class J extends H {
|
|
|
158
165
|
this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
|
|
159
166
|
}
|
|
160
167
|
showPauseUI() {
|
|
161
|
-
return
|
|
168
|
+
return m(this, null, function* () {
|
|
162
169
|
this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh().then(() => this.render());
|
|
163
170
|
});
|
|
164
171
|
}
|
|
@@ -167,41 +174,51 @@ class J extends H {
|
|
|
167
174
|
this.videoMesh && (this.videoMesh.needsRender = !0), this.coverMesh && (this.coverMesh.needsRender = !0), this.buttonMesh && (this.buttonMesh.needsRender = !0), this.videoMesh && ((e = this.videoInstance) == null ? void 0 : e.paused) === !1 && (this.videoMesh.needsRender = !0);
|
|
168
175
|
}
|
|
169
176
|
addCoverMesh() {
|
|
170
|
-
return
|
|
177
|
+
return m(this, null, function* () {
|
|
171
178
|
if (this.children.includes(this.coverMesh))
|
|
172
179
|
return;
|
|
173
|
-
const e = yield (() =>
|
|
180
|
+
const e = yield (() => m(this, null, function* () {
|
|
174
181
|
if (this.coverMesh)
|
|
175
182
|
return this.coverMesh;
|
|
176
183
|
if (!this.videoCoverSrc)
|
|
177
184
|
return;
|
|
178
|
-
const { texture: t, transparent: i } = yield this.getImageTexture(this.videoCoverSrc), s = new y.MeshBasicMaterial({
|
|
185
|
+
const { texture: t, transparent: i } = yield this.getImageTexture(this.videoCoverSrc), s = new y.MeshBasicMaterial({
|
|
186
|
+
transparent: i || this.initialOpacity < 1,
|
|
187
|
+
opacity: this.initialOpacity,
|
|
188
|
+
map: t,
|
|
189
|
+
side: y.DoubleSide
|
|
190
|
+
}), r = g(this.objectFit, this.cornerPoints, t.image.width / t.image.height), n = new S(r, s);
|
|
179
191
|
n.position.copy(new b(0, 0, 0)), n.name = "videoCoverMesh";
|
|
180
|
-
const o = P(
|
|
192
|
+
const o = P(r).multiplyScalar(T.Z_FIGHTING_OFFSET);
|
|
181
193
|
return n.position.add(o), n;
|
|
182
194
|
}))();
|
|
183
195
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
184
196
|
});
|
|
185
197
|
}
|
|
186
198
|
addVideoMesh() {
|
|
187
|
-
return
|
|
199
|
+
return m(this, null, function* () {
|
|
188
200
|
var i;
|
|
189
201
|
if (this.children.includes(this.videoMesh))
|
|
190
202
|
return;
|
|
191
|
-
const e = yield (() =>
|
|
203
|
+
const e = yield (() => m(this, null, function* () {
|
|
192
204
|
if (this.videoMesh)
|
|
193
205
|
return this.videoMesh;
|
|
194
206
|
if (!this.src)
|
|
195
207
|
return;
|
|
196
|
-
const s = this.getVideoTexture(this.src),
|
|
197
|
-
|
|
208
|
+
const s = this.getVideoTexture(this.src), r = new y.MeshBasicMaterial({
|
|
209
|
+
transparent: this.initialOpacity < 1,
|
|
210
|
+
opacity: this.initialOpacity,
|
|
211
|
+
map: s,
|
|
212
|
+
side: y.DoubleSide
|
|
213
|
+
}), n = yield new Promise((h) => {
|
|
214
|
+
s.metadataLoaded ? h(g(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
|
|
198
215
|
"videoLoaded",
|
|
199
|
-
() =>
|
|
216
|
+
() => h(g(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
|
|
200
217
|
);
|
|
201
|
-
}), o = new
|
|
218
|
+
}), o = new S(n, r);
|
|
202
219
|
o.name = "videoMesh", o.position.copy(new b(0, 0, 0));
|
|
203
|
-
const
|
|
204
|
-
return o.position.add(
|
|
220
|
+
const d = P(n).multiplyScalar(T.Z_FIGHTING_OFFSET);
|
|
221
|
+
return o.position.add(d), o;
|
|
205
222
|
}))();
|
|
206
223
|
if (!e)
|
|
207
224
|
return;
|
|
@@ -223,14 +240,14 @@ class J extends H {
|
|
|
223
240
|
});
|
|
224
241
|
}
|
|
225
242
|
addButtonMesh() {
|
|
226
|
-
return
|
|
243
|
+
return m(this, null, function* () {
|
|
227
244
|
if (this.children.includes(this.buttonMesh))
|
|
228
245
|
return;
|
|
229
|
-
const e = yield (() =>
|
|
230
|
-
var u,
|
|
246
|
+
const e = yield (() => m(this, null, function* () {
|
|
247
|
+
var u, p, f, w;
|
|
231
248
|
if (this.buttonMesh)
|
|
232
249
|
return this.buttonMesh;
|
|
233
|
-
const t = (
|
|
250
|
+
const t = (p = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, i = (w = (f = this.coverMesh) == null ? void 0 : f.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, i, s) / s * 0.3, { texture: o, transparent: d } = yield this.getImageTexture(this.buttonSrc), h = g("contain", this.cornerPoints, o.image.width / o.image.height), c = new S(h, new j(o));
|
|
234
251
|
c.position.copy(new b(0, 0, 0)), c.name = "buttonMesh", c.scale.set(n, n, n), c.material.side = y.DoubleSide, this.domEvents.addAutoBindEventListener(
|
|
235
252
|
c,
|
|
236
253
|
"click",
|
|
@@ -239,18 +256,18 @@ class J extends H {
|
|
|
239
256
|
},
|
|
240
257
|
{ noEmitWhenHide: !0 }
|
|
241
258
|
);
|
|
242
|
-
const
|
|
243
|
-
return c.position.add(
|
|
259
|
+
const v = P(h).multiplyScalar(T.Z_FIGHTING_OFFSET * 2);
|
|
260
|
+
return c.position.add(v), c;
|
|
244
261
|
}))();
|
|
245
262
|
return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
|
|
246
263
|
});
|
|
247
264
|
}
|
|
248
265
|
getImageTexture(e) {
|
|
249
|
-
return
|
|
266
|
+
return m(this, null, function* () {
|
|
250
267
|
var i, s;
|
|
251
268
|
if ((i = this.ImageTextureMap) != null && i.has(e))
|
|
252
269
|
return this.ImageTextureMap.get(e);
|
|
253
|
-
const t = yield
|
|
270
|
+
const t = yield H(e);
|
|
254
271
|
return (s = this.ImageTextureMap) == null || s.set(e, t), t;
|
|
255
272
|
});
|
|
256
273
|
}
|
|
@@ -262,52 +279,52 @@ class J extends H {
|
|
|
262
279
|
return (s = this.videoTextureMap) == null || s.set(e, t), t;
|
|
263
280
|
}
|
|
264
281
|
changePointsOrParams(e) {
|
|
265
|
-
return
|
|
282
|
+
return m(this, null, function* () {
|
|
266
283
|
const { cornerPoints: t, params: i } = e;
|
|
267
284
|
t && (this.cornerPoints = t, this.position.copy(I(...t))), i != null && i.objectFit && (this.objectFit = i.objectFit), yield this.updateAllMeshes();
|
|
268
285
|
});
|
|
269
286
|
}
|
|
270
287
|
updateAllMeshes() {
|
|
271
|
-
return
|
|
288
|
+
return m(this, null, function* () {
|
|
272
289
|
this.videoMesh && (yield this.updateVideoMesh()), this.coverMesh && (yield this.updateCoverMesh()), this.buttonMesh && (yield this.updateButtonMesh()), this.render();
|
|
273
290
|
});
|
|
274
291
|
}
|
|
275
292
|
updateVideoMesh() {
|
|
276
|
-
return
|
|
293
|
+
return m(this, null, function* () {
|
|
277
294
|
if (!this.videoMesh || !this.src)
|
|
278
295
|
return;
|
|
279
296
|
const e = this.getVideoTexture(this.src), t = yield new Promise((o) => {
|
|
280
|
-
e.metadataLoaded ? o(
|
|
297
|
+
e.metadataLoaded ? o(g(this.objectFit, this.cornerPoints, e.image.videoWidth / e.image.videoHeight)) : e.addEventListener(
|
|
281
298
|
"videoLoaded",
|
|
282
|
-
() => o(
|
|
299
|
+
() => o(g(this.objectFit, this.cornerPoints, e.image.videoWidth / e.image.videoHeight))
|
|
283
300
|
);
|
|
284
|
-
}), i = I(...t), s = t.map((o) => o.clone().sub(i)),
|
|
285
|
-
this.videoMesh.geometry.dispose(), this.videoMesh.geometry =
|
|
301
|
+
}), i = I(...t), s = t.map((o) => o.clone().sub(i)), r = new F(s);
|
|
302
|
+
this.videoMesh.geometry.dispose(), this.videoMesh.geometry = r, this.videoMesh.position.copy(new b(0, 0, 0));
|
|
286
303
|
const n = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET);
|
|
287
304
|
this.videoMesh.position.add(n);
|
|
288
305
|
});
|
|
289
306
|
}
|
|
290
307
|
updateCoverMesh() {
|
|
291
|
-
return
|
|
308
|
+
return m(this, null, function* () {
|
|
292
309
|
if (!this.coverMesh || !this.videoCoverSrc)
|
|
293
310
|
return;
|
|
294
|
-
const { texture: e } = yield this.getImageTexture(this.videoCoverSrc), t =
|
|
295
|
-
this.coverMesh.geometry.dispose(), this.coverMesh.geometry =
|
|
311
|
+
const { texture: e } = yield this.getImageTexture(this.videoCoverSrc), t = g(this.objectFit, this.cornerPoints, e.image.width / e.image.height), i = I(...t), s = t.map((n) => n.clone().sub(i)), r = new F(s);
|
|
312
|
+
this.coverMesh.geometry.dispose(), this.coverMesh.geometry = r, this.coverMesh.position.copy(new b(0, 0, 0));
|
|
296
313
|
});
|
|
297
314
|
}
|
|
298
315
|
updateButtonMesh() {
|
|
299
|
-
return
|
|
300
|
-
var u,
|
|
316
|
+
return m(this, null, function* () {
|
|
317
|
+
var u, p, f, w;
|
|
301
318
|
if (!this.buttonMesh)
|
|
302
319
|
return;
|
|
303
|
-
const { texture: e } = yield this.getImageTexture(this.buttonSrc), t =
|
|
304
|
-
this.buttonMesh.geometry.dispose(), this.buttonMesh.geometry =
|
|
305
|
-
const
|
|
306
|
-
this.buttonMesh.position.add(
|
|
320
|
+
const { texture: e } = yield this.getImageTexture(this.buttonSrc), t = g("contain", this.cornerPoints, e.image.width / e.image.height), i = I(...t), s = t.map((x) => x.clone().sub(i)), r = new F(s), n = (p = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, o = (w = (f = this.coverMesh) == null ? void 0 : f.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, d = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), c = Math.min(n, o, d) / d * 0.3;
|
|
321
|
+
this.buttonMesh.geometry.dispose(), this.buttonMesh.geometry = r, this.buttonMesh.position.copy(new b(0, 0, 0)), this.buttonMesh.scale.set(c, c, c);
|
|
322
|
+
const v = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET * 2);
|
|
323
|
+
this.buttonMesh.position.add(v);
|
|
307
324
|
});
|
|
308
325
|
}
|
|
309
326
|
}
|
|
310
327
|
export {
|
|
311
|
-
|
|
312
|
-
|
|
328
|
+
J as ImagePlane,
|
|
329
|
+
K as VideoPlane
|
|
313
330
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.73.1-alpha.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.73.1-alpha.2",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|