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 +0 -0
- package/README.md +0 -0
- package/icn3d.js +10 -6
- package/icn3d.min.js +1 -1
- package/icn3d.module.js +10 -6
- package/package.json +1 -1
package/icn3d.module.js
CHANGED
|
@@ -75246,13 +75246,17 @@ class Scene {
|
|
|
75246
75246
|
}
|
|
75247
75247
|
}
|
|
75248
75248
|
|
|
75249
|
-
ic.perspectiveCamera
|
|
75250
|
-
|
|
75251
|
-
|
|
75249
|
+
if(!ic.perspectiveCamera) {
|
|
75250
|
+
ic.perspectiveCamera = new PerspectiveCamera$1(20, ic.container.whratio, 0.1, 10000);
|
|
75251
|
+
ic.perspectiveCamera.position.set(0, 0, ic.cam_z);
|
|
75252
|
+
ic.perspectiveCamera.lookAt(new Vector3$1(0, 0, 0));
|
|
75253
|
+
}
|
|
75252
75254
|
|
|
75253
|
-
ic.orthographicCamera
|
|
75254
|
-
|
|
75255
|
-
|
|
75255
|
+
if(!ic.orthographicCamera) {
|
|
75256
|
+
ic.orthographicCamera = new OrthographicCamera$1();
|
|
75257
|
+
ic.orthographicCamera.position.set(0, 0, ic.cam_z);
|
|
75258
|
+
ic.orthographicCamera.lookAt(new Vector3$1(0, 0, 0));
|
|
75259
|
+
}
|
|
75256
75260
|
|
|
75257
75261
|
ic.cams = {
|
|
75258
75262
|
perspective: ic.perspectiveCamera,
|