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/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
|
|
74349
|
-
|
|
74350
|
-
|
|
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
|
|
74353
|
-
|
|
74354
|
-
|
|
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,
|