viral-viewer-2 2.6.3 → 2.6.5
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.
|
@@ -11,13 +11,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.workerCode = void 0;
|
|
13
13
|
function workerFunction() {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
function child() {
|
|
15
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16
|
+
let THREE = yield Promise.resolve().then(() => require('../../threejs-addon/simplify-modifier'));
|
|
17
|
+
let modifier = new THREE.SimplifyModifier();
|
|
18
18
|
console.log(modifier);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
self.addEventListener("message", (event) => {
|
|
22
|
+
child();
|
|
23
|
+
}, false);
|
|
21
24
|
}
|
|
22
25
|
exports.workerCode = workerFunction;
|
|
23
26
|
//# sourceMappingURL=threejs.script.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threejs.script.js","sourceRoot":"","sources":["../../../src/components/worker-script/threejs.script.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAe,
|
|
1
|
+
{"version":3,"file":"threejs.script.js","sourceRoot":"","sources":["../../../src/components/worker-script/threejs.script.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAS,cAAc;IACnB,SAAe,KAAK;;YAEhB,IAAI,KAAK,GAAG,2CAAa,uCAAuC,EAAC,CAAC;YAClE,IAAI,QAAQ,GAAG,IAAI,KAAK,CAAC,gBAAgB,EAAE,CAAC;YAC5C,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;QACzB,CAAC;KAAA;IAGD,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAAwB,EAAE,EAAE;QAC1D,KAAK,EAAE,CAAC;IACZ,CAAC,EACG,KAAK,CACR,CAAC;AACN,CAAC;AACY,QAAA,UAAU,GAAO,cAAc,CAAC"}
|