icn3d 3.45.6 → 3.45.7

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/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
package/icn3d.js CHANGED
@@ -74345,13 +74345,17 @@ class Scene {
74345
74345
  }
74346
74346
  }
74347
74347
 
74348
- ic.perspectiveCamera = new PerspectiveCamera$1(20, ic.container.whratio, 0.1, 10000);
74349
- ic.perspectiveCamera.position.set(0, 0, ic.cam_z);
74350
- ic.perspectiveCamera.lookAt(new Vector3$1(0, 0, 0));
74348
+ if(!ic.perspectiveCamera) {
74349
+ ic.perspectiveCamera = new PerspectiveCamera$1(20, ic.container.whratio, 0.1, 10000);
74350
+ ic.perspectiveCamera.position.set(0, 0, ic.cam_z);
74351
+ ic.perspectiveCamera.lookAt(new Vector3$1(0, 0, 0));
74352
+ }
74351
74353
 
74352
- ic.orthographicCamera = new OrthographicCamera$1();
74353
- ic.orthographicCamera.position.set(0, 0, ic.cam_z);
74354
- ic.orthographicCamera.lookAt(new Vector3$1(0, 0, 0));
74354
+ if(!ic.orthographicCamera) {
74355
+ ic.orthographicCamera = new OrthographicCamera$1();
74356
+ ic.orthographicCamera.position.set(0, 0, ic.cam_z);
74357
+ ic.orthographicCamera.lookAt(new Vector3$1(0, 0, 0));
74358
+ }
74355
74359
 
74356
74360
  ic.cams = {
74357
74361
  perspective: ic.perspectiveCamera,