@2112-lab/central-plant 0.1.16 → 0.1.18
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 +3 -11
- package/dist/cjs/src/managers/scene/sceneInitializationManager.js +2 -10
- package/dist/cjs/src/managers/scene/sceneOperationsManager.js +1 -1
- package/dist/esm/src/managers/scene/sceneInitializationManager.js +2 -10
- package/dist/esm/src/managers/scene/sceneOperationsManager.js +1 -1
- package/package.json +1 -1
package/dist/bundle/index.js
CHANGED
|
@@ -15558,17 +15558,9 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
15558
15558
|
this.sceneViewer.controls.maxDistance = 20;
|
|
15559
15559
|
this.sceneViewer.controls.maxPolarAngle = Math.PI / 1.5;
|
|
15560
15560
|
// Configure auto-rotation (default: enabled)
|
|
15561
|
-
this.sceneViewer.controls.autoRotate =
|
|
15561
|
+
this.sceneViewer.controls.autoRotate = false;
|
|
15562
15562
|
this.sceneViewer.controls.autoRotateSpeed = 0.5; // Rotation speed (default is 1.0)
|
|
15563
15563
|
|
|
15564
|
-
// // Add event listener to turn off auto-rotation when user interacts with controls
|
|
15565
|
-
// component.controls.addEventListener('start', () => {
|
|
15566
|
-
// if (component.controls.autoRotate) {
|
|
15567
|
-
// component.controls.autoRotate = false
|
|
15568
|
-
// logger.info('Auto-rotation disabled due to user interaction')
|
|
15569
|
-
// }
|
|
15570
|
-
// })
|
|
15571
|
-
|
|
15572
15564
|
logger.info('Orbit controls initialized with auto-rotation');
|
|
15573
15565
|
}
|
|
15574
15566
|
|
|
@@ -15596,7 +15588,7 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
15596
15588
|
_context2.n = 1;
|
|
15597
15589
|
return this.initializeScene();
|
|
15598
15590
|
case 1:
|
|
15599
|
-
this.initializePerformanceMonitoring()
|
|
15591
|
+
// this.initializePerformanceMonitoring()
|
|
15600
15592
|
this.initializeLoaders();
|
|
15601
15593
|
this.setupControls();
|
|
15602
15594
|
this.setDefaultBackground();
|
|
@@ -21455,7 +21447,7 @@ var SceneOperationsManager = /*#__PURE__*/function () {
|
|
|
21455
21447
|
case 0:
|
|
21456
21448
|
component = this.sceneViewer;
|
|
21457
21449
|
_context6.p = 1;
|
|
21458
|
-
defaultCentralPlantUrl =
|
|
21450
|
+
defaultCentralPlantUrl = './mock-data/cp-01-01.json';
|
|
21459
21451
|
_context6.n = 2;
|
|
21460
21452
|
return fetch(defaultCentralPlantUrl);
|
|
21461
21453
|
case 2:
|
|
@@ -252,17 +252,9 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
252
252
|
this.sceneViewer.controls.maxDistance = 20;
|
|
253
253
|
this.sceneViewer.controls.maxPolarAngle = Math.PI / 1.5;
|
|
254
254
|
// Configure auto-rotation (default: enabled)
|
|
255
|
-
this.sceneViewer.controls.autoRotate =
|
|
255
|
+
this.sceneViewer.controls.autoRotate = false;
|
|
256
256
|
this.sceneViewer.controls.autoRotateSpeed = 0.5; // Rotation speed (default is 1.0)
|
|
257
257
|
|
|
258
|
-
// // Add event listener to turn off auto-rotation when user interacts with controls
|
|
259
|
-
// component.controls.addEventListener('start', () => {
|
|
260
|
-
// if (component.controls.autoRotate) {
|
|
261
|
-
// component.controls.autoRotate = false
|
|
262
|
-
// logger.info('Auto-rotation disabled due to user interaction')
|
|
263
|
-
// }
|
|
264
|
-
// })
|
|
265
|
-
|
|
266
258
|
debugLogger.logger.info('Orbit controls initialized with auto-rotation');
|
|
267
259
|
}
|
|
268
260
|
|
|
@@ -290,7 +282,7 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
290
282
|
_context2.n = 1;
|
|
291
283
|
return this.initializeScene();
|
|
292
284
|
case 1:
|
|
293
|
-
this.initializePerformanceMonitoring()
|
|
285
|
+
// this.initializePerformanceMonitoring()
|
|
294
286
|
this.initializeLoaders();
|
|
295
287
|
this.setupControls();
|
|
296
288
|
this.setDefaultBackground();
|
|
@@ -1098,7 +1098,7 @@ var SceneOperationsManager = /*#__PURE__*/function () {
|
|
|
1098
1098
|
case 0:
|
|
1099
1099
|
component = this.sceneViewer;
|
|
1100
1100
|
_context6.p = 1;
|
|
1101
|
-
defaultCentralPlantUrl =
|
|
1101
|
+
defaultCentralPlantUrl = './mock-data/cp-01-01.json';
|
|
1102
1102
|
_context6.n = 2;
|
|
1103
1103
|
return fetch(defaultCentralPlantUrl);
|
|
1104
1104
|
case 2:
|
|
@@ -228,17 +228,9 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
228
228
|
this.sceneViewer.controls.maxDistance = 20;
|
|
229
229
|
this.sceneViewer.controls.maxPolarAngle = Math.PI / 1.5;
|
|
230
230
|
// Configure auto-rotation (default: enabled)
|
|
231
|
-
this.sceneViewer.controls.autoRotate =
|
|
231
|
+
this.sceneViewer.controls.autoRotate = false;
|
|
232
232
|
this.sceneViewer.controls.autoRotateSpeed = 0.5; // Rotation speed (default is 1.0)
|
|
233
233
|
|
|
234
|
-
// // Add event listener to turn off auto-rotation when user interacts with controls
|
|
235
|
-
// component.controls.addEventListener('start', () => {
|
|
236
|
-
// if (component.controls.autoRotate) {
|
|
237
|
-
// component.controls.autoRotate = false
|
|
238
|
-
// logger.info('Auto-rotation disabled due to user interaction')
|
|
239
|
-
// }
|
|
240
|
-
// })
|
|
241
|
-
|
|
242
234
|
logger.info('Orbit controls initialized with auto-rotation');
|
|
243
235
|
}
|
|
244
236
|
|
|
@@ -266,7 +258,7 @@ var SceneInitializationManager = /*#__PURE__*/function () {
|
|
|
266
258
|
_context2.n = 1;
|
|
267
259
|
return this.initializeScene();
|
|
268
260
|
case 1:
|
|
269
|
-
this.initializePerformanceMonitoring()
|
|
261
|
+
// this.initializePerformanceMonitoring()
|
|
270
262
|
this.initializeLoaders();
|
|
271
263
|
this.setupControls();
|
|
272
264
|
this.setDefaultBackground();
|
|
@@ -1074,7 +1074,7 @@ var SceneOperationsManager = /*#__PURE__*/function () {
|
|
|
1074
1074
|
case 0:
|
|
1075
1075
|
component = this.sceneViewer;
|
|
1076
1076
|
_context6.p = 1;
|
|
1077
|
-
defaultCentralPlantUrl =
|
|
1077
|
+
defaultCentralPlantUrl = './mock-data/cp-01-01.json';
|
|
1078
1078
|
_context6.n = 2;
|
|
1079
1079
|
return fetch(defaultCentralPlantUrl);
|
|
1080
1080
|
case 2:
|