vim-web 0.5.0-dev.4 → 0.5.0-dev.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.
@@ -27,7 +27,7 @@ export declare class SectionBox {
27
27
  * Fits the given box, invalid dimensions will be reversed.
28
28
  * @param box - The new bounding box.
29
29
  */
30
- fitBox(box: THREE.Box3): void;
30
+ setBox(box: THREE.Box3): void;
31
31
  getBox(): THREE.Box3 | undefined;
32
32
  dispose(): void;
33
33
  }
@@ -60055,7 +60055,7 @@ void main() {
60055
60055
  * Fits the given box, invalid dimensions will be reversed.
60056
60056
  * @param box - The new bounding box.
60057
60057
  */
60058
- fitBox(box) {
60058
+ setBox(box) {
60059
60059
  box = safeBox(box);
60060
60060
  this._box = box;
60061
60061
  this.scheduleUpdate();
@@ -76213,7 +76213,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76213
76213
  viewer.sectionBox.interactive = b;
76214
76214
  },
76215
76215
  getBox: () => viewer.sectionBox.getBox(),
76216
- setBox: (box) => viewer.sectionBox.fitBox(box),
76216
+ setBox: (box) => viewer.sectionBox.setBox(box),
76217
76217
  onSelectionChanged: viewer.selection.onSelectionChanged,
76218
76218
  getSelectionBox: () => viewer.selection.getBoundingBox(),
76219
76219
  getSceneBox: () => viewer.renderer.getBoundingBox()