Tighten failed-entry comments and docs

This commit is contained in:
German Khokhlov committed 2026-11-06 20:20:11 +04:00
1 parent e1ea524b68
commit 8917eebe12
7 files changed
+11 -23

No files matched your search

+1 -4
View File
@@ -139,10 +139,7 @@ function sameCameraView(camera, view) {
);
}
/**
* Return to the pose before entry while the entry's full-globe flight still
* holds the camera: in flight, or landed with nothing moved since.
*/
/** Restore the pre-entry view if the entry flight still holds the camera. */
function restoreCameraView(viewer, view, landedView) {
const camera = viewer?.camera;
if (!camera) return;