@xviewer.js/core 1.0.0-alpha.53 → 1.0.0-alpha.54
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/main.js +4 -10
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -10
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1483,19 +1483,13 @@ class Lens {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
1485
|
__decorate([
|
|
1486
|
-
property
|
|
1487
|
-
dir: "lens"
|
|
1488
|
-
})
|
|
1486
|
+
property
|
|
1489
1487
|
], Lens.prototype, "fov", void 0);
|
|
1490
1488
|
__decorate([
|
|
1491
|
-
property
|
|
1492
|
-
dir: "lens"
|
|
1493
|
-
})
|
|
1489
|
+
property
|
|
1494
1490
|
], Lens.prototype, "near", void 0);
|
|
1495
1491
|
__decorate([
|
|
1496
|
-
property
|
|
1497
|
-
dir: "lens"
|
|
1498
|
-
})
|
|
1492
|
+
property
|
|
1499
1493
|
], Lens.prototype, "far", void 0);
|
|
1500
1494
|
class VirtualCamera extends Component {
|
|
1501
1495
|
get finalPosition() {
|
|
@@ -2872,7 +2866,7 @@ class FreelookVirtualCamera extends VirtualCamera {
|
|
|
2872
2866
|
this._touchID = -1;
|
|
2873
2867
|
this._preLoc0 = new three.Vector2();
|
|
2874
2868
|
this._preLoc1 = new three.Vector2();
|
|
2875
|
-
this._spherical = new three.Spherical(
|
|
2869
|
+
this._spherical = new three.Spherical(2, Math.PI / 2);
|
|
2876
2870
|
this._lookAt = new three.Vector3();
|
|
2877
2871
|
this._tempSmoothing = 6;
|
|
2878
2872
|
this._tempRotateSmoothing = 8;
|