@d5techs/3dgs-lib 1.4.48 → 1.4.49
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/3dgs-lib.cjs +1 -1
- package/dist/3dgs-lib.cjs.map +1 -1
- package/dist/3dgs-lib.js +1 -1
- package/dist/3dgs-lib.js.map +1 -1
- package/package.json +1 -1
package/dist/3dgs-lib.cjs
CHANGED
|
@@ -18934,7 +18934,7 @@ class App {
|
|
|
18934
18934
|
const dz = cam[2] - mc[2];
|
|
18935
18935
|
const hDist = Math.sqrt(dx * dx + dz * dz);
|
|
18936
18936
|
const fullAngle = Math.atan2(cam[1], Math.max(hDist, 0.01));
|
|
18937
|
-
pitchOffset = Math.max(-0.
|
|
18937
|
+
pitchOffset = Math.max(-0.15, Math.min(0.15, -fullAngle * 0.1));
|
|
18938
18938
|
}
|
|
18939
18939
|
}
|
|
18940
18940
|
this.skyboxRenderer.prepareFrame(
|