viral-viewer-2 4.1.6 → 4.1.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.
@@ -2,7 +2,7 @@ import { ViralViewerApi } from "../../viral-viewer-api";
2
2
  import { RenderMaterial, ViralutionElement } from "../../types";
3
3
  import { Mesh } from "three";
4
4
  import { WorkerThreadPool } from "./base/worker-pool";
5
- export declare class ViralViewerWorker3 {
5
+ export declare class ViralViewerWorker4 {
6
6
  viralViewerApi: ViralViewerApi;
7
7
  workerPool: WorkerThreadPool;
8
8
  materials: RenderMaterial[];
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ViralViewerWorker3 = void 0;
3
+ exports.ViralViewerWorker4 = void 0;
4
4
  const three_1 = require("three");
5
5
  const load_model_worker_3_script_1 = require("../worker-script/load-model-worker-3.script");
6
6
  const worker_pool_1 = require("./base/worker-pool");
7
7
  const threejs_1 = require("../../utils/threejs");
8
- class ViralViewerWorker3 {
8
+ class ViralViewerWorker4 {
9
9
  constructor(viralViewerApi, scriptUrl = "../worker-script/load-model-worker-2.script.js") {
10
10
  this.viralViewerApi = viralViewerApi;
11
11
  this.materials = [];
@@ -56,5 +56,5 @@ class ViralViewerWorker3 {
56
56
  });
57
57
  }
58
58
  }
59
- exports.ViralViewerWorker3 = ViralViewerWorker3;
59
+ exports.ViralViewerWorker4 = ViralViewerWorker4;
60
60
  //# sourceMappingURL=viral-viewer-4.worker.js.map
@@ -34042,7 +34042,7 @@ which can be placed in CurveUtils.
34042
34042
  return buffer;
34043
34043
  }
34044
34044
  function progressGeometries(json) {
34045
- result = [];
34045
+ let result = [];
34046
34046
  for (let index = 0; index < json.Solids.length; index++) {
34047
34047
  const element = json.Solids[index];
34048
34048
  let buffer = addMesh(element.Indices, element.Vertices);