@perceptimagery/dita-configurator-staging 0.1.7301 → 0.1.7302
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/index.js +21 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ var __publicField = (obj, key, value) => {
|
|
|
111
111
|
host: "https://api.sprie.io"
|
|
112
112
|
};
|
|
113
113
|
const config = Object.freeze(Config$1);
|
|
114
|
-
const version$1 = "0.1.
|
|
114
|
+
const version$1 = "0.1.7302";
|
|
115
115
|
function modifyLensArr(arr, element) {
|
|
116
116
|
const index = arr.findIndex((e) => e["sku"] === element["sku"]);
|
|
117
117
|
if (index !== -1) {
|
|
@@ -41960,13 +41960,26 @@ bool bvhIntersectFirstHit(
|
|
|
41960
41960
|
-0.13425621157020154,
|
|
41961
41961
|
-0.2564218846390263
|
|
41962
41962
|
);
|
|
41963
|
-
this.
|
|
41964
|
-
|
|
41965
|
-
|
|
41966
|
-
|
|
41967
|
-
|
|
41968
|
-
|
|
41969
|
-
|
|
41963
|
+
const rendererSize = this.renderer.getSize(new Vector2());
|
|
41964
|
+
if (rendererSize.x > rendererSize.y) {
|
|
41965
|
+
this.camera.position.set(
|
|
41966
|
+
2.2,
|
|
41967
|
+
2.2,
|
|
41968
|
+
4
|
|
41969
|
+
);
|
|
41970
|
+
controls.minDistance = 2;
|
|
41971
|
+
controls.maxDistance = 7;
|
|
41972
|
+
controls.rotateSpeed = 0.5;
|
|
41973
|
+
} else {
|
|
41974
|
+
this.camera.position.set(
|
|
41975
|
+
4.2,
|
|
41976
|
+
5.2,
|
|
41977
|
+
12
|
|
41978
|
+
);
|
|
41979
|
+
controls.minDistance = 3;
|
|
41980
|
+
controls.maxDistance = 16;
|
|
41981
|
+
controls.rotateSpeed = 0.8;
|
|
41982
|
+
}
|
|
41970
41983
|
controls.enableDamping = true;
|
|
41971
41984
|
controls.dampingFactor = 0.2;
|
|
41972
41985
|
controls.enablePan = true;
|