@procore/bim-webviewer-sdk 17.6.0-rc.7 → 17.6.0-rc.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/Procore.Bim.Webviewer.d.ts +37 -19
  3. package/dist/Procore.Bim.Webviewer.js +1 -1
  4. package/dist/types/src/components/RootComponent.d.ts +1 -1
  5. package/dist/types/src/components/StatsJS.d.ts +8 -3
  6. package/dist/types/src/controllers/RenderController.d.ts +2 -1
  7. package/dist/types/src/controllers/RenderControllerProxy.d.ts +1 -0
  8. package/dist/types/src/controllers/RenderControllerWorker.d.ts +1 -0
  9. package/dist/types/src/procoregl/Models/Models.d.ts +0 -2
  10. package/dist/types/src/procoregl/PartitionsRenderer.d.ts +3 -0
  11. package/dist/types/src/procoregl/PartitionsRendererImpl.d.ts +2 -0
  12. package/dist/types/src/procoregl/StreamedGeometryFactory.d.ts +0 -1
  13. package/dist/types/src/procoregl/ViewerRenderer.d.ts +2 -0
  14. package/dist/types/src/pwfreader/v1/impl/bufferReader/PartitionProxyBufferReader.d.ts +1 -3
  15. package/dist/types/src/pwfreader/v1/standard/MeshServices.d.ts +1 -0
  16. package/dist/types/src/pwfreader/v1/standard/Meshnode.d.ts +7 -1
  17. package/dist/types/src/pwfreader/v1/streaming/MeshData.d.ts +2 -3
  18. package/dist/types/src/pwfreader/v1/streaming/Partition.d.ts +1 -1
  19. package/dist/types/src/pwfreader/v1/streaming/PartitionDownloadManager.d.ts +7 -0
  20. package/dist/types/src/pwfreader/v1/streaming/PartitionProxy.d.ts +11 -5
  21. package/dist/types/src/pwfreader/v1/streaming/StreamedMeshServices.d.ts +3 -2
  22. package/dist/types/src/pwfreader/v1/streaming/StreamedMeshnode.d.ts +10 -2
  23. package/dist/types/src/pwfreader/v1/streaming/StreamedMeshnodeServices.d.ts +1 -1
  24. package/dist/types/src/pwfreader/v1/streaming/__tests__/PartitionDownloadManager.test.d.ts +1 -0
  25. package/dist/types/src/pwfreader/v2/impl/bufferReader/PartitionProxyBufferReader.d.ts +0 -3
  26. package/dist/types/src/pwfreader/v2/standard/Meshnode.d.ts +1 -0
  27. package/dist/types/src/pwfreader/v2/streaming/MeshData.d.ts +2 -3
  28. package/dist/types/src/pwfreader/v2/streaming/Partition.d.ts +1 -1
  29. package/dist/types/src/pwfreader/v2/streaming/PartitionProxy.d.ts +0 -1
  30. package/dist/types/src/pwfreader/v2/streaming/StreamedMeshServices.d.ts +1 -1
  31. package/dist/types/src/threeShaking.d.ts +2 -0
  32. package/dist/types/src/utils/constants.d.ts +3 -0
  33. package/dist/types/src/workers/PartitionDownload.worker.d.ts +1 -0
  34. package/package.json +1 -1
  35. package/dist/types/src/procoregl/SceneGraph/utils.d.ts +0 -2
@@ -13,7 +13,7 @@ export class RootComponent {
13
13
  sectionToolDropdown: SectionToolDropdown | null;
14
14
  window_components: any[];
15
15
  disabled: any[];
16
- statsJS: StatsJS | undefined;
16
+ statsJS: StatsJS;
17
17
  tooltipManager: TooltipManager;
18
18
  init(): void;
19
19
  addComponent(ComponentType: any): void;
@@ -1,12 +1,17 @@
1
+ import { RenderControllerProxy } from '../controllers/RenderControllerProxy';
1
2
  export declare class StatsJS {
2
3
  private attached;
3
4
  private statsFPS;
4
5
  private statsTime;
5
- private statsMemory;
6
+ private statsDetailsInMotion;
7
+ private renderControllerProxy;
8
+ private detailsInMotionPanel;
6
9
  private static FpsCss;
7
10
  private static TimeCss;
8
- private static MemCss;
11
+ private static DetailsCss;
12
+ constructor(renderControllerProxy: RenderControllerProxy);
9
13
  attach(document: Document): void;
10
- update(): void;
14
+ update(): Promise<void>;
11
15
  dispose(): void;
16
+ private isChrome;
12
17
  }
@@ -24,7 +24,6 @@ export class RenderController {
24
24
  webengine: import("../../webassembly/webengine/dist/webengine").InitOutput | null;
25
25
  webenginePromise: Promise<import("../../webassembly/webengine/dist/webengine").InitOutput>;
26
26
  enableWebWorker: any;
27
- prefetchingPartitions: boolean;
28
27
  projectId: any;
29
28
  baseUrl: any;
30
29
  meshnodeABCached: boolean;
@@ -382,6 +381,8 @@ export class RenderController {
382
381
  getNumMeshes(params?: {}): number;
383
382
  getNumMeshnodes(params?: {}): number;
384
383
  getNumNodes(params?: {}): number;
384
+ isPartitionedModel(): boolean;
385
+ getDetailsInMotion(): number;
385
386
  }
386
387
  export namespace RenderController {
387
388
  namespace NullSelectedSubtree {
@@ -278,6 +278,7 @@ export class RenderControllerProxy {
278
278
  faceNormal: import("../sdk").Vector3 | null;
279
279
  nearestMeshnodeIndex?: number;
280
280
  };
281
+ getDetailsInMotion(...params: any[]): number | Promise<any>;
281
282
  }
282
283
  export namespace RenderControllerProxy {
283
284
  namespace NAVIGATION_MODE {
@@ -120,4 +120,5 @@ export class RenderControllerWorker {
120
120
  setPwfFileCacheState(...params: any[]): Promise<any>;
121
121
  partitionUrlsFromMeshnodeIndices(...params: any[]): Promise<any>;
122
122
  getRayIntersectPoint(evt: any, returnOnEdgeHitFailure: any): Promise<any>;
123
+ getDetailsInMotion(...params: any[]): Promise<any>;
123
124
  }
@@ -31,7 +31,6 @@ export declare class Models {
31
31
  private pwfs;
32
32
  private currentParsingPwfIndex;
33
33
  private streaming;
34
- private prefetchingPartitions;
35
34
  private geometryFactory?;
36
35
  private objectTrees;
37
36
  private readonly selectionOption;
@@ -47,7 +46,6 @@ export declare class Models {
47
46
  downloadMetaData: DownloadMetaData;
48
47
  modelDescriptors: ModelDescriptor[];
49
48
  selectionOption: SelectMethod;
50
- prefetchingPartitions?: boolean;
51
49
  featureFlags: ValidatedFeatureFlags;
52
50
  });
53
51
  private sceneGraphFactory;
@@ -50,6 +50,7 @@ export class PartitionsRenderer {
50
50
  };
51
51
  };
52
52
  renderingAtRest: boolean;
53
+ numMeshnodesLoadedToGPU: () => any;
53
54
  initialize: (measureSet: any, models: any, colorServices: any) => void;
54
55
  render: (scene: any, camera: any) => void;
55
56
  cleanBuffer: () => void;
@@ -61,6 +62,8 @@ export class PartitionsRenderer {
61
62
  loadMeshShader: () => void;
62
63
  setDetailsParams: (detailsParams: any) => void;
63
64
  setGeometryFactory: (geometryFactory: any) => void;
65
+ setDelta: (delta: any) => void;
66
+ getDetailsInMotion: () => any;
64
67
  renderMeshnode: (meshnode: any, scene: any, camera: any, renderStage: any) => void;
65
68
  renderMesh: (scene: any, camera: any, meshGeometry: any, nodedata: any, renderStage: any, isPicked: any, overrideMaterial: any) => void;
66
69
  vr: WebXRManager | WebVRManager | null;
@@ -53,5 +53,7 @@ export declare class PartitionsRendererImpl implements ViewerRenderer {
53
53
  renderSection(scene: THREE.Scene, camera: THREE.Camera): void;
54
54
  getWebGLRenderer(): THREE.WebGLRenderer;
55
55
  setGeometryFactory(geometryFactory: GeometryFactory): void;
56
+ setDelta(delta: number): void;
57
+ getDetailsInMotion(): number;
56
58
  }
57
59
  export {};
@@ -2,7 +2,6 @@ import { GeometryFactory } from './GeometryFactory';
2
2
  import { StreamedMeshGeometry } from './StreamedMeshGeometry';
3
3
  export declare class StreamedGeometryFactory extends GeometryFactory {
4
4
  createMeshGeometry(vertexArray: Float32Array, indexArray: Uint16Array, color: number, opacity: number, drawType: number): StreamedMeshGeometry;
5
- createMeshGeometryPrefetching(vertexArray: Float32Array, indexArray: Uint16Array, color: number, opacity: number, drawType: number): StreamedMeshGeometry;
6
5
  createCylinderGeometry(vertexArray: Float32Array, indexArray: Uint16Array, color: number, opacity: number, drawType: number): StreamedMeshGeometry;
7
6
  protected newVertexBufferStream(size: number): WebGLBuffer;
8
7
  protected newIndexBufferStream(size: number): WebGLBuffer;
@@ -36,6 +36,8 @@ export interface ViewerRenderer {
36
36
  enableBackFaceFillColor(state: boolean): void;
37
37
  loadMeshShader(): void;
38
38
  renderSection(scene: THREE.Scene, camera: THREE.Camera): void;
39
+ setDelta(delta: number): void;
40
+ getDetailsInMotion(): number;
39
41
  getWebGLRenderer(): THREE.WebGLRenderer;
40
42
  setGeometryFactory(geometryFactory: GeometryFactory): void;
41
43
  }
@@ -1,9 +1,7 @@
1
1
  import { PWFPartitionProxy } from '../../interface/PWFPartitionProxy';
2
2
  export declare class PartitionProxyBufferReader {
3
- private buffer;
4
- private numPartitionProxies;
3
+ private readonly buffer;
5
4
  constructor(buffer: ArrayBuffer);
6
- getNumPartitionProxies(): number;
7
5
  parse(): PWFPartitionProxy[];
8
6
  private forEach;
9
7
  static numProxies(partitionProxiesAB: ArrayBuffer): number;
@@ -13,6 +13,7 @@ export declare class MeshServices {
13
13
  private readonly meshCount;
14
14
  private currentIndex;
15
15
  constructor(pwfMeshes: PWFMesh[], pwf: PWFV1);
16
+ getGeometryFactory(): GeometryFactory;
16
17
  setGeometryFactory(geometryFactory: GeometryFactory): void;
17
18
  getMeshGeometryForOffsets(meshOffset: number, _meshnodeOffset: number | undefined): MeshGeometry | undefined;
18
19
  meshFromOffset(offset: number): Mesh;
@@ -1,15 +1,17 @@
1
+ import { PerspectiveCamera } from 'three/src/cameras/PerspectiveCamera';
1
2
  import type { Node } from './Node';
2
3
  import { MeshGeometry } from '../../../procoregl/MeshGeometry';
3
4
  import { PWFMeshnode } from '../interface/PWFMeshnode';
4
5
  import type { PWFV1 } from '../PWFV1';
5
6
  import { MeshnodeObject } from '../objects/MeshnodeObject';
6
7
  export declare class Meshnode {
8
+ uploadedToGPU: boolean;
7
9
  protected pwfMeshnode: PWFMeshnode;
8
10
  private hiddenValue;
9
11
  private box3Value?;
10
12
  private centerValue?;
11
13
  private meshDataValue?;
12
- private meshGeometriesValue?;
14
+ protected meshGeometriesValue?: MeshGeometry[];
13
15
  private matrixWorldValue?;
14
16
  protected pwf: PWFV1;
15
17
  selected: boolean;
@@ -40,5 +42,9 @@ export declare class Meshnode {
40
42
  hidden(): Meshnode['hiddenValue'];
41
43
  setHidden(hidden: boolean): void;
42
44
  setParent(node: Node): void;
45
+ isProjectionAtLeastNPixelsRadius(camera: PerspectiveCamera, canvasSize: {
46
+ height: number;
47
+ width: number;
48
+ }, radiusPixels: number): boolean;
43
49
  asObject(): MeshnodeObject;
44
50
  }
@@ -1,8 +1,8 @@
1
1
  import { StreamedMeshGeometry } from '../../../procoregl/StreamedMeshGeometry';
2
2
  import { StreamedGeometryFactory } from '../../../procoregl/StreamedGeometryFactory';
3
3
  export declare class MeshData {
4
- private _meshIndex;
5
- private compressedMeshData;
4
+ private readonly _meshIndex;
5
+ private readonly compressedMeshData;
6
6
  private uncompressedMeshData?;
7
7
  private meshGeometry?;
8
8
  constructor(meshIndex: number, compressedMeshData: ArrayBuffer);
@@ -13,7 +13,6 @@ export declare class MeshData {
13
13
  vertices(): Float32Array;
14
14
  faces(): Uint16Array;
15
15
  uploadToGPU(geometryFactory: StreamedGeometryFactory): StreamedMeshGeometry;
16
- uploadToGPUPreFetching(geometryFactory: StreamedGeometryFactory): StreamedMeshGeometry;
17
16
  getCompressedMeshData(): ArrayBuffer;
18
17
  getUncompressedMeshData(): ArrayBuffer;
19
18
  }
@@ -4,5 +4,5 @@ export declare class Partition {
4
4
  private pwfPartition;
5
5
  constructor(pwfPartition: PWFPartition);
6
6
  partitionId(): number;
7
- meshData(): MeshData[];
7
+ meshDatum(): MeshData[];
8
8
  }
@@ -0,0 +1,7 @@
1
+ export declare class PartitionDownloadManager {
2
+ private worker;
3
+ private downloadQueue;
4
+ constructor();
5
+ downloadPartition(url: string, partitionId: number): Promise<ArrayBuffer>;
6
+ terminate(): void;
7
+ }
@@ -2,24 +2,26 @@ import { Partition } from './Partition';
2
2
  import type { StreamedMeshnode } from './StreamedMeshnode';
3
3
  import { PWFPartitionProxy } from '../interface/PWFPartitionProxy';
4
4
  import { StreamedGeometryFactory } from '../../../procoregl/StreamedGeometryFactory';
5
- import { StreamedMeshServices } from './StreamedMeshServices';
5
+ import type { StreamedMeshServices } from './StreamedMeshServices';
6
6
  export declare class PartitionProxy {
7
7
  private pwfPartitionProxy;
8
- private meshServices;
8
+ meshServices: StreamedMeshServices;
9
9
  static numberOfPartitions: number;
10
10
  static numberOfPartitionsLoaded: number;
11
11
  static currentNumberOfDownloading: number;
12
- static prefetchingPartitions: boolean;
13
- loadedToGPU: boolean;
14
12
  isLoading: boolean;
13
+ isLoaded: boolean;
14
+ meshRef2Meshnodes: Map<number, StreamedMeshnode[]>;
15
15
  private _meshnodes;
16
16
  private _byteLength?;
17
- private _compressedByteLength?;
17
+ private _compressedByteLength;
18
18
  private stats;
19
+ private static partitionDownloadManager;
19
20
  constructor(params: {
20
21
  pwfPartitionProxy: PWFPartitionProxy;
21
22
  meshServices: StreamedMeshServices;
22
23
  });
24
+ getMeshServices(): StreamedMeshServices;
23
25
  meshCount(): number;
24
26
  incrementMeshCount(numMeshes: number): void;
25
27
  vertexCount(): number;
@@ -32,6 +34,8 @@ export declare class PartitionProxy {
32
34
  meshnodes(): StreamedMeshnode[];
33
35
  setMeshnodes(meshnodes: StreamedMeshnode[]): void;
34
36
  loadPartitionData(callbackFn: (partition: Partition) => void): Promise<void>;
37
+ private loadPartitionMeshesToOPFS;
38
+ private parsePartition;
35
39
  loadPartition(factory: StreamedGeometryFactory): Promise<void>;
36
40
  size(): {
37
41
  compressed: number;
@@ -40,4 +44,6 @@ export declare class PartitionProxy {
40
44
  static processPartitionProxiesAB(partitionProxiesAB: ArrayBuffer, meshServices: StreamedMeshServices, callback: (partitionProxy: PartitionProxy) => void): void;
41
45
  static getPartitionProxies(partitionProxiesAB: ArrayBuffer): PWFPartitionProxy[];
42
46
  getContentOfPartitionUrl(): string;
47
+ static loadPartitions(partitionsSet: Set<PartitionProxy>): Promise<void>;
48
+ private loadPartitionWithManager;
43
49
  }
@@ -1,13 +1,13 @@
1
1
  import { StreamedMeshGeometry } from '../../../procoregl/StreamedMeshGeometry';
2
2
  import type { PWFV1 } from '../PWFV1';
3
3
  import { MeshServices } from '../standard';
4
- import type { StreamedMeshnode } from './StreamedMeshnode';
5
4
  import { MeshObject } from '../objects/MeshObject';
6
5
  import { MeshData } from './MeshData';
7
6
  import { Mesh } from '../standard/Mesh';
8
7
  import { OPFSFile } from '../../../utils/OPFSFile';
9
8
  import type { ValidatedFeatureFlags } from '../../../types/WebviewerOptions';
10
9
  import type { ResourceDiscriminator } from '../../../Webviewer';
10
+ import type { PartitionProxy } from './PartitionProxy';
11
11
  export declare class StreamedMeshServices extends MeshServices {
12
12
  private readonly featureFlags;
13
13
  private meshIndexToOPFSRecord;
@@ -25,9 +25,10 @@ export declare class StreamedMeshServices extends MeshServices {
25
25
  closeOPFS(): Promise<void>;
26
26
  writeMeshDataToOPFS(meshData: MeshData): Promise<void>;
27
27
  getMeshObject(meshIndex: number): MeshObject;
28
- loadPartitionContainingMeshnode(streamedMeshnode: StreamedMeshnode): Promise<void>;
28
+ loadPartitionProxy(partitionProxy: PartitionProxy): Promise<boolean>;
29
29
  getMeshGeometryForOffsets(meshOffset: number, meshnodeOffset: number): StreamedMeshGeometry | undefined;
30
30
  meshFromOffset(meshIndex: number): Mesh;
31
+ readMeshDataFromOPFS(meshIndex: number): MeshData;
31
32
  private getCompressedMeshDataFromOPFS;
32
33
  dispose(): Promise<void>;
33
34
  }
@@ -3,12 +3,20 @@ import { Meshnode } from '../standard/Meshnode';
3
3
  import { MeshnodeObject } from '../objects/MeshnodeObject';
4
4
  import { PartitionProxy } from './PartitionProxy';
5
5
  import { StreamedMeshGeometry } from '../../../procoregl/StreamedMeshGeometry';
6
+ import { PWFMeshnode } from '../interface/PWFMeshnode';
7
+ import type { PWFV1 } from '../PWFV1';
6
8
  export declare class StreamedMeshnode extends Meshnode {
7
- private _partitionProxy?;
8
- private _meshGeometries;
9
+ _partitionProxy?: PartitionProxy;
10
+ _meshGeometries: Map<number, StreamedMeshGeometry>;
11
+ protected meshGeometriesValue: MeshGeometry[];
12
+ uploadedToGPU: boolean;
13
+ prefetching: boolean;
14
+ constructor(pwfMeshnode: PWFMeshnode, pwf: PWFV1, prefetching: boolean);
15
+ isPrefetching(): boolean;
9
16
  setPartitionProxy(partitionProxy: PartitionProxy): void;
10
17
  partitionProxy(): PartitionProxy;
11
18
  meshGeometries(): MeshGeometry[];
19
+ uploadMeshDataToGPU(): Promise<void>;
12
20
  setMeshGeometry(meshIndex: number, meshGeometry: StreamedMeshGeometry): void;
13
21
  getMeshGeometry(meshIndex: number): StreamedMeshGeometry | undefined;
14
22
  asObject(): MeshnodeObject;
@@ -1,4 +1,4 @@
1
- import { MeshnodeServices } from '../standard/MeshnodeServices';
1
+ import { MeshnodeServices } from '../standard';
2
2
  import { Meshnode } from '../standard/Meshnode';
3
3
  import { PWFMeshnode } from '../interface/PWFMeshnode';
4
4
  export declare class StreamedMeshnodeServices extends MeshnodeServices {
@@ -1,10 +1,7 @@
1
1
  import { PWFPartitionProxy } from '../../interface/PWFPartitionProxy';
2
2
  export declare class PartitionProxyBufferReader {
3
3
  private buffer;
4
- private numPartitionProxies;
5
4
  constructor(buffer: ArrayBuffer);
6
- getNumPartitionProxies(): number;
7
5
  parse(): PWFPartitionProxy[];
8
6
  private forEach;
9
- static numProxies(partitionProxiesAB: ArrayBuffer): number;
10
7
  }
@@ -4,6 +4,7 @@ import { PWFMeshnode } from '../interface/PWFMeshnode';
4
4
  import type { PWFV2 } from '../PWFV2';
5
5
  import { MeshnodeObject } from '../objects/MeshnodeObject';
6
6
  export declare class Meshnode {
7
+ uploadedToGPU: boolean;
7
8
  protected pwfMeshnode: PWFMeshnode;
8
9
  private hiddenValue;
9
10
  private box3Value?;
@@ -1,8 +1,8 @@
1
1
  import { StreamedMeshGeometry } from '../../../procoregl/StreamedMeshGeometry';
2
2
  import { StreamedGeometryFactory } from '../../../procoregl/StreamedGeometryFactory';
3
3
  export declare class MeshData {
4
- private _meshIndex;
5
- private compressedMeshData;
4
+ private readonly _meshIndex;
5
+ private readonly compressedMeshData;
6
6
  private uncompressedMeshData?;
7
7
  private meshGeometry?;
8
8
  constructor(meshIndex: number, compressedMeshData: ArrayBuffer);
@@ -13,7 +13,6 @@ export declare class MeshData {
13
13
  vertices(): Float32Array;
14
14
  faces(): Uint16Array;
15
15
  uploadToGPU(geometryFactory: StreamedGeometryFactory): StreamedMeshGeometry;
16
- uploadToGPUPreFetching(geometryFactory: StreamedGeometryFactory): StreamedMeshGeometry;
17
16
  getCompressedMeshData(): ArrayBuffer;
18
17
  getUncompressedMeshData(): ArrayBuffer;
19
18
  }
@@ -4,5 +4,5 @@ export declare class Partition {
4
4
  private pwfPartition;
5
5
  constructor(pwfPartition: PWFPartition);
6
6
  partitionId(): number;
7
- meshData(): MeshData[];
7
+ meshDatum(): MeshData[];
8
8
  }
@@ -9,7 +9,6 @@ export declare class PartitionProxy {
9
9
  static numberOfPartitions: number;
10
10
  static numberOfPartitionsLoaded: number;
11
11
  static currentNumberOfDownloading: number;
12
- static prefetchingPartitions: boolean;
13
12
  loadedToGPU: boolean;
14
13
  isLoading: boolean;
15
14
  private _meshnodes;
@@ -25,7 +25,7 @@ export declare class StreamedMeshServices extends MeshServices {
25
25
  closeOPFS(): Promise<void>;
26
26
  writeMeshDataToOPFS(meshData: MeshData): Promise<void>;
27
27
  getMeshObject(meshIndex: number): MeshObject;
28
- loadPartitionContainingMeshnode(streamedMeshnode: StreamedMeshnode): Promise<void>;
28
+ loadPartitionContainingMeshnode(_streamedMeshnode: StreamedMeshnode): Promise<boolean>;
29
29
  getMeshGeometryForOffsets(meshOffset: number, meshnodeOffset: number): StreamedMeshGeometry | undefined;
30
30
  meshFromOffset(meshIndex: number): Mesh;
31
31
  private getCompressedMeshDataFromOPFS;
@@ -39,6 +39,7 @@ export namespace THREE {
39
39
  export { RGBAFormat };
40
40
  export { Scene };
41
41
  export { ShaderMaterial };
42
+ export { Sphere };
42
43
  export { Spherical };
43
44
  export { Triangle };
44
45
  export { Vector2 };
@@ -87,6 +88,7 @@ import { Raycaster } from 'three/src/core/Raycaster';
87
88
  import { RGBAFormat } from 'three/src/constants';
88
89
  import { Scene } from 'three/src/scenes/Scene';
89
90
  import { ShaderMaterial } from 'three/src/materials/ShaderMaterial';
91
+ import { Sphere } from 'three/src/math/Sphere';
90
92
  import { Spherical } from 'three/src/math/Spherical';
91
93
  import { Triangle } from 'three/src/math/Triangle';
92
94
  import { Vector2 } from 'three/src/math/Vector2';
@@ -7,3 +7,6 @@ export declare const RENDER_MODE: {
7
7
  readonly XRAY: "xray";
8
8
  };
9
9
  export type RenderMode = (typeof RENDER_MODE)[keyof typeof RENDER_MODE];
10
+ export declare const PREFETCHED_PARTITIONS = true;
11
+ export declare const PROGRESSIVE_PARTITIONS = false;
12
+ export declare const LOG_RENDERER_MESHNODES_STATS = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/bim-webviewer-sdk",
3
- "version": "17.6.0-rc.7",
3
+ "version": "17.6.0-rc.8",
4
4
  "description": "Procore BIM Webviewer SDK",
5
5
  "main": "dist/Procore.Bim.Webviewer.js",
6
6
  "types": "dist/Procore.Bim.Webviewer.d.ts",
@@ -1,2 +0,0 @@
1
- import type { Meshnode } from '../../pwfreader/PWFTypes';
2
- export declare function isMeshnodeTooSmall(meshnode: Meshnode): boolean;