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