@2112-lab/central-plant 0.1.0 → 0.1.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/bundle/index.js +7782 -6543
- package/dist/cjs/_virtual/_rollupPluginBabelHelpers.js +23 -10
- package/dist/cjs/node_modules/@2112-lab/pathfinder/dist/index.esm.js +1448 -0
- package/dist/cjs/src/animationManager.js +15 -15
- package/dist/cjs/src/componentManager.js +8 -8
- package/dist/cjs/src/disposalManager.js +12 -12
- package/dist/cjs/src/environmentManager.js +392 -99
- package/dist/cjs/src/hotReloadManager.js +26 -26
- package/dist/cjs/src/index.js +19 -66
- package/dist/cjs/src/keyboardControlsManager.js +23 -23
- package/dist/cjs/src/nameUtils.js +21 -21
- package/dist/cjs/src/pathfindingManager.js +311 -129
- package/dist/cjs/src/performanceMonitor.js +52 -52
- package/dist/cjs/src/sceneExportManager.js +23 -23
- package/dist/cjs/src/sceneInitializationManager.js +18 -18
- package/dist/cjs/src/textureConfig.js +469 -40
- package/dist/cjs/src/transformControlsManager.js +79 -79
- package/dist/esm/_virtual/_rollupPluginBabelHelpers.js +21 -10
- package/dist/esm/node_modules/@2112-lab/pathfinder/dist/index.esm.js +1444 -0
- package/dist/esm/src/animationManager.js +15 -15
- package/dist/esm/src/componentManager.js +8 -8
- package/dist/esm/src/disposalManager.js +12 -12
- package/dist/esm/src/environmentManager.js +393 -100
- package/dist/esm/src/hotReloadManager.js +26 -26
- package/dist/esm/src/index.js +19 -66
- package/dist/esm/src/keyboardControlsManager.js +23 -23
- package/dist/esm/src/nameUtils.js +21 -21
- package/dist/esm/src/pathfindingManager.js +313 -129
- package/dist/esm/src/performanceMonitor.js +52 -52
- package/dist/esm/src/sceneExportManager.js +23 -23
- package/dist/esm/src/sceneInitializationManager.js +18 -18
- package/dist/esm/src/textureConfig.js +469 -42
- package/dist/esm/src/transformControlsManager.js +79 -79
- package/dist/index.d.ts +255 -259
- package/package.json +52 -53
- package/dist/cjs/src/ConnectionManager.js +0 -114
- package/dist/cjs/src/Pathfinder.js +0 -88
- package/dist/cjs/src/modelPreloader.js +0 -360
- package/dist/cjs/src/sceneOperationsManager.js +0 -560
- package/dist/esm/src/ConnectionManager.js +0 -110
- package/dist/esm/src/Pathfinder.js +0 -84
- package/dist/esm/src/modelPreloader.js +0 -337
- package/dist/esm/src/sceneOperationsManager.js +0 -536
|
@@ -72,8 +72,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
72
72
|
this._update = this._update.bind(this);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
/**
|
|
76
|
-
* Start the performance monitor
|
|
75
|
+
/**
|
|
76
|
+
* Start the performance monitor
|
|
77
77
|
*/
|
|
78
78
|
return _createClass(PerformanceMonitor, [{
|
|
79
79
|
key: "start",
|
|
@@ -90,8 +90,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
90
90
|
logger.info('Performance monitoring started');
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
/**
|
|
94
|
-
* Stop the performance monitor
|
|
93
|
+
/**
|
|
94
|
+
* Stop the performance monitor
|
|
95
95
|
*/
|
|
96
96
|
}, {
|
|
97
97
|
key: "stop",
|
|
@@ -100,8 +100,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
100
100
|
logger.info('Performance monitoring stopped');
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
/**
|
|
104
|
-
* Reset statistics
|
|
103
|
+
/**
|
|
104
|
+
* Reset statistics
|
|
105
105
|
*/
|
|
106
106
|
}, {
|
|
107
107
|
key: "reset",
|
|
@@ -129,8 +129,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
129
129
|
logger.info('Performance statistics reset');
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
/**
|
|
133
|
-
* Update method called every animation frame
|
|
132
|
+
/**
|
|
133
|
+
* Update method called every animation frame
|
|
134
134
|
*/
|
|
135
135
|
}, {
|
|
136
136
|
key: "_update",
|
|
@@ -172,8 +172,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
172
172
|
requestAnimationFrame(this._update);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
/**
|
|
176
|
-
* Update statistics for a specific metric
|
|
175
|
+
/**
|
|
176
|
+
* Update statistics for a specific metric
|
|
177
177
|
*/
|
|
178
178
|
}, {
|
|
179
179
|
key: "_updateStat",
|
|
@@ -202,8 +202,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
202
202
|
}, 0) / stats.history.length;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
/**
|
|
206
|
-
* Get WebGL info from the renderer
|
|
205
|
+
/**
|
|
206
|
+
* Get WebGL info from the renderer
|
|
207
207
|
*/
|
|
208
208
|
}, {
|
|
209
209
|
key: "_getWebGLInfo",
|
|
@@ -236,8 +236,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
236
236
|
this.stats.memory.programs = ((_info$programs = info.programs) === null || _info$programs === void 0 ? void 0 : _info$programs.length) || 0;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
/**
|
|
240
|
-
* Get system memory info
|
|
239
|
+
/**
|
|
240
|
+
* Get system memory info
|
|
241
241
|
*/
|
|
242
242
|
}, {
|
|
243
243
|
key: "_getMemoryInfo",
|
|
@@ -253,8 +253,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
/**
|
|
257
|
-
* Get GPU info if available
|
|
256
|
+
/**
|
|
257
|
+
* Get GPU info if available
|
|
258
258
|
*/
|
|
259
259
|
}, {
|
|
260
260
|
key: "_getGPUInfo",
|
|
@@ -276,8 +276,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
276
276
|
this.stats.gpu.extensions = gl.getSupportedExtensions();
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
/**
|
|
280
|
-
* Check for performance warnings
|
|
279
|
+
/**
|
|
280
|
+
* Check for performance warnings
|
|
281
281
|
*/
|
|
282
282
|
}, {
|
|
283
283
|
key: "_checkWarnings",
|
|
@@ -350,8 +350,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
/**
|
|
354
|
-
* Register an event callback
|
|
353
|
+
/**
|
|
354
|
+
* Register an event callback
|
|
355
355
|
*/
|
|
356
356
|
}, {
|
|
357
357
|
key: "on",
|
|
@@ -360,8 +360,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
360
360
|
this.callbacks[event].push(callback);
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
/**
|
|
364
|
-
* Remove an event callback
|
|
363
|
+
/**
|
|
364
|
+
* Remove an event callback
|
|
365
365
|
*/
|
|
366
366
|
}, {
|
|
367
367
|
key: "off",
|
|
@@ -373,8 +373,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
/**
|
|
377
|
-
* Trigger callbacks for an event
|
|
376
|
+
/**
|
|
377
|
+
* Trigger callbacks for an event
|
|
378
378
|
*/
|
|
379
379
|
}, {
|
|
380
380
|
key: "_triggerCallbacks",
|
|
@@ -389,8 +389,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
389
389
|
});
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
/**
|
|
393
|
-
* Log performance summary to console
|
|
392
|
+
/**
|
|
393
|
+
* Log performance summary to console
|
|
394
394
|
*/
|
|
395
395
|
}, {
|
|
396
396
|
key: "logSummary",
|
|
@@ -411,8 +411,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
411
411
|
return this.stats;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
/**
|
|
415
|
-
* Export performance data
|
|
414
|
+
/**
|
|
415
|
+
* Export performance data
|
|
416
416
|
*/
|
|
417
417
|
}, {
|
|
418
418
|
key: "exportData",
|
|
@@ -426,8 +426,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
/**
|
|
430
|
-
* Get active warnings
|
|
429
|
+
/**
|
|
430
|
+
* Get active warnings
|
|
431
431
|
*/
|
|
432
432
|
}, {
|
|
433
433
|
key: "_getActiveWarnings",
|
|
@@ -474,8 +474,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
474
474
|
return warnings;
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
/**
|
|
478
|
-
* Set warning thresholds
|
|
477
|
+
/**
|
|
478
|
+
* Set warning thresholds
|
|
479
479
|
*/
|
|
480
480
|
}, {
|
|
481
481
|
key: "setWarningThresholds",
|
|
@@ -485,8 +485,8 @@ var PerformanceMonitor = /*#__PURE__*/function () {
|
|
|
485
485
|
}]);
|
|
486
486
|
}();
|
|
487
487
|
|
|
488
|
-
/**
|
|
489
|
-
* Performance UI class for displaying performance statistics
|
|
488
|
+
/**
|
|
489
|
+
* Performance UI class for displaying performance statistics
|
|
490
490
|
*/
|
|
491
491
|
var PerformanceUI = /*#__PURE__*/function () {
|
|
492
492
|
function PerformanceUI(monitor, container) {
|
|
@@ -502,8 +502,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
502
502
|
this._setupUpdateLoop();
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
/**
|
|
506
|
-
* Create the UI element
|
|
505
|
+
/**
|
|
506
|
+
* Create the UI element
|
|
507
507
|
*/
|
|
508
508
|
return _createClass(PerformanceUI, [{
|
|
509
509
|
key: "_createUI",
|
|
@@ -556,8 +556,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
556
556
|
this.element.style.pointerEvents = 'none';
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
-
/**
|
|
560
|
-
* Set UI theme
|
|
559
|
+
/**
|
|
560
|
+
* Set UI theme
|
|
561
561
|
*/
|
|
562
562
|
}, {
|
|
563
563
|
key: "setTheme",
|
|
@@ -574,8 +574,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
/**
|
|
578
|
-
* Setup update loop for refreshing the UI
|
|
577
|
+
/**
|
|
578
|
+
* Setup update loop for refreshing the UI
|
|
579
579
|
*/
|
|
580
580
|
}, {
|
|
581
581
|
key: "_setupUpdateLoop",
|
|
@@ -613,8 +613,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
613
613
|
setInterval(updateStats, 500);
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
-
/**
|
|
617
|
-
* Get color for a metric based on its value
|
|
616
|
+
/**
|
|
617
|
+
* Get color for a metric based on its value
|
|
618
618
|
*/
|
|
619
619
|
}, {
|
|
620
620
|
key: "_getMetricColor",
|
|
@@ -636,8 +636,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
636
636
|
return "rgb(".concat(r, ", ").concat(g, ", ").concat(b, ")");
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
/**
|
|
640
|
-
* Format number for display
|
|
639
|
+
/**
|
|
640
|
+
* Format number for display
|
|
641
641
|
*/
|
|
642
642
|
}, {
|
|
643
643
|
key: "_formatNumber",
|
|
@@ -650,8 +650,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
650
650
|
return number.toString();
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
/**
|
|
654
|
-
* Show the UI
|
|
653
|
+
/**
|
|
654
|
+
* Show the UI
|
|
655
655
|
*/
|
|
656
656
|
}, {
|
|
657
657
|
key: "show",
|
|
@@ -667,8 +667,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
/**
|
|
671
|
-
* Hide the UI
|
|
670
|
+
/**
|
|
671
|
+
* Hide the UI
|
|
672
672
|
*/
|
|
673
673
|
}, {
|
|
674
674
|
key: "hide",
|
|
@@ -679,8 +679,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
679
679
|
this.element.style.pointerEvents = 'none';
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
/**
|
|
683
|
-
* Toggle visibility
|
|
682
|
+
/**
|
|
683
|
+
* Toggle visibility
|
|
684
684
|
*/
|
|
685
685
|
}, {
|
|
686
686
|
key: "toggle",
|
|
@@ -692,8 +692,8 @@ var PerformanceUI = /*#__PURE__*/function () {
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
|
|
695
|
-
/**
|
|
696
|
-
* Clean up resources
|
|
695
|
+
/**
|
|
696
|
+
* Clean up resources
|
|
697
697
|
*/
|
|
698
698
|
}, {
|
|
699
699
|
key: "dispose",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { createClass as _createClass, classCallCheck as _classCallCheck, toConsumableArray as _toConsumableArray } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import { getHardcodedUuid } from './nameUtils.js';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Class for managing scene export operations
|
|
4
|
+
/**
|
|
5
|
+
* Class for managing scene export operations
|
|
6
6
|
*/
|
|
7
7
|
var SceneExportManager = /*#__PURE__*/function () {
|
|
8
|
-
/**
|
|
9
|
-
* Create a SceneExportManager
|
|
10
|
-
* @param {Object} componentInstance - The component instance containing scene data
|
|
8
|
+
/**
|
|
9
|
+
* Create a SceneExportManager
|
|
10
|
+
* @param {Object} componentInstance - The component instance containing scene data
|
|
11
11
|
*/
|
|
12
12
|
function SceneExportManager(componentInstance) {
|
|
13
13
|
_classCallCheck(this, SceneExportManager);
|
|
14
14
|
this.component = componentInstance;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
/**
|
|
18
|
-
* Export function that recreates the JSON data structure from current scene objects
|
|
19
|
-
* @returns {Object|null} The exported scene data as JSON object or null if export failed
|
|
17
|
+
/**
|
|
18
|
+
* Export function that recreates the JSON data structure from current scene objects
|
|
19
|
+
* @returns {Object|null} The exported scene data as JSON object or null if export failed
|
|
20
20
|
*/
|
|
21
21
|
return _createClass(SceneExportManager, [{
|
|
22
22
|
key: "exportSceneData",
|
|
@@ -184,10 +184,10 @@ var SceneExportManager = /*#__PURE__*/function () {
|
|
|
184
184
|
return exportData;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
/**
|
|
188
|
-
* Helper function to download the exported scene data as JSON file
|
|
189
|
-
* @param {string} filename - Optional filename for the export
|
|
190
|
-
* @returns {boolean} Success status of the download operation
|
|
187
|
+
/**
|
|
188
|
+
* Helper function to download the exported scene data as JSON file
|
|
189
|
+
* @param {string} filename - Optional filename for the export
|
|
190
|
+
* @returns {boolean} Success status of the download operation
|
|
191
191
|
*/
|
|
192
192
|
}, {
|
|
193
193
|
key: "downloadSceneExport",
|
|
@@ -233,10 +233,10 @@ var SceneExportManager = /*#__PURE__*/function () {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
/**
|
|
237
|
-
* Export scene data as JSON string
|
|
238
|
-
* @param {boolean} pretty - Whether to format the JSON with indentation
|
|
239
|
-
* @returns {string|null} JSON string or null if export failed
|
|
236
|
+
/**
|
|
237
|
+
* Export scene data as JSON string
|
|
238
|
+
* @param {boolean} pretty - Whether to format the JSON with indentation
|
|
239
|
+
* @returns {string|null} JSON string or null if export failed
|
|
240
240
|
*/
|
|
241
241
|
}, {
|
|
242
242
|
key: "exportSceneDataAsString",
|
|
@@ -249,9 +249,9 @@ var SceneExportManager = /*#__PURE__*/function () {
|
|
|
249
249
|
return pretty ? JSON.stringify(exportData, null, 2) : JSON.stringify(exportData);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
/**
|
|
253
|
-
* Get export metadata
|
|
254
|
-
* @returns {Object|null} Export metadata or null if scene is not available
|
|
252
|
+
/**
|
|
253
|
+
* Get export metadata
|
|
254
|
+
* @returns {Object|null} Export metadata or null if scene is not available
|
|
255
255
|
*/
|
|
256
256
|
}, {
|
|
257
257
|
key: "getExportMetadata",
|
|
@@ -274,10 +274,10 @@ var SceneExportManager = /*#__PURE__*/function () {
|
|
|
274
274
|
}]);
|
|
275
275
|
}();
|
|
276
276
|
|
|
277
|
-
/**
|
|
278
|
-
* Factory function to get SceneExportManager instance
|
|
279
|
-
* @param {CentralPlantComponent} component - The component instance
|
|
280
|
-
* @returns {SceneExportManager} SceneExportManager instance
|
|
277
|
+
/**
|
|
278
|
+
* Factory function to get SceneExportManager instance
|
|
279
|
+
* @param {CentralPlantComponent} component - The component instance
|
|
280
|
+
* @returns {SceneExportManager} SceneExportManager instance
|
|
281
281
|
*/
|
|
282
282
|
function getSceneExportManager(component) {
|
|
283
283
|
return new SceneExportManager(component);
|
|
@@ -97,8 +97,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
97
97
|
importThreeJSDependencies();
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
/**
|
|
101
|
-
* Initialize the Three.js scene, camera, and renderer
|
|
100
|
+
/**
|
|
101
|
+
* Initialize the Three.js scene, camera, and renderer
|
|
102
102
|
*/
|
|
103
103
|
return _createClass(SceneInitializationManager, [{
|
|
104
104
|
key: "initializeScene",
|
|
@@ -151,8 +151,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
151
151
|
}
|
|
152
152
|
return initializeScene;
|
|
153
153
|
}()
|
|
154
|
-
/**
|
|
155
|
-
* Setup the WebGL renderer
|
|
154
|
+
/**
|
|
155
|
+
* Setup the WebGL renderer
|
|
156
156
|
*/
|
|
157
157
|
)
|
|
158
158
|
}, {
|
|
@@ -229,8 +229,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
229
229
|
}
|
|
230
230
|
return setupRenderer;
|
|
231
231
|
}()
|
|
232
|
-
/**
|
|
233
|
-
* Setup orbit controls
|
|
232
|
+
/**
|
|
233
|
+
* Setup orbit controls
|
|
234
234
|
*/
|
|
235
235
|
)
|
|
236
236
|
}, {
|
|
@@ -257,8 +257,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
257
257
|
return this.setupControlsInternal(container, options);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
/**
|
|
261
|
-
* Internal method to setup controls after dependencies are loaded
|
|
260
|
+
/**
|
|
261
|
+
* Internal method to setup controls after dependencies are loaded
|
|
262
262
|
*/
|
|
263
263
|
}, {
|
|
264
264
|
key: "setupControlsInternal",
|
|
@@ -290,8 +290,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
290
290
|
return component.controls;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
/**
|
|
294
|
-
* Initialize performance monitoring
|
|
293
|
+
/**
|
|
294
|
+
* Initialize performance monitoring
|
|
295
295
|
*/
|
|
296
296
|
}, {
|
|
297
297
|
key: "initializePerformanceMonitoring",
|
|
@@ -352,8 +352,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
352
352
|
}
|
|
353
353
|
return initializePerformanceMonitoring;
|
|
354
354
|
}()
|
|
355
|
-
/**
|
|
356
|
-
* Expose performance monitoring to global scope for debugging
|
|
355
|
+
/**
|
|
356
|
+
* Expose performance monitoring to global scope for debugging
|
|
357
357
|
*/
|
|
358
358
|
)
|
|
359
359
|
}, {
|
|
@@ -410,8 +410,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
-
/**
|
|
414
|
-
* Setup resize handler for responsive rendering
|
|
413
|
+
/**
|
|
414
|
+
* Setup resize handler for responsive rendering
|
|
415
415
|
*/
|
|
416
416
|
}, {
|
|
417
417
|
key: "setupResizeHandler",
|
|
@@ -447,8 +447,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
447
447
|
logger.info('Resize handler initialized');
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
/**
|
|
451
|
-
* Cleanup resize handler
|
|
450
|
+
/**
|
|
451
|
+
* Cleanup resize handler
|
|
452
452
|
*/
|
|
453
453
|
}, {
|
|
454
454
|
key: "cleanupResizeHandler",
|
|
@@ -464,8 +464,8 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
464
464
|
// Create a singleton instance
|
|
465
465
|
var sceneInitializationManager = null;
|
|
466
466
|
|
|
467
|
-
/**
|
|
468
|
-
* Get the global scene initialization manager instance
|
|
467
|
+
/**
|
|
468
|
+
* Get the global scene initialization manager instance
|
|
469
469
|
*/
|
|
470
470
|
function getSceneInitializationManager() {
|
|
471
471
|
var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|