@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.js
CHANGED
|
@@ -18932,7 +18932,7 @@ class App {
|
|
|
18932
18932
|
const dz = cam[2] - mc[2];
|
|
18933
18933
|
const hDist = Math.sqrt(dx * dx + dz * dz);
|
|
18934
18934
|
const fullAngle = Math.atan2(cam[1], Math.max(hDist, 0.01));
|
|
18935
|
-
pitchOffset = Math.max(-0.
|
|
18935
|
+
pitchOffset = Math.max(-0.15, Math.min(0.15, -fullAngle * 0.1));
|
|
18936
18936
|
}
|
|
18937
18937
|
}
|
|
18938
18938
|
this.skyboxRenderer.prepareFrame(
|