Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Oct 14, 2024
1 parent a1dfdd5 commit 9e1b4ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/viser/client/src/CameraControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ export function SynchronizedCameraControls() {
}, [camera, sendCameraThrottled]);

// Camera control search parameters.
// EXPERIMENTAL: these may be removed or renamed in the future. Please pin to
// a commit/version if you're relying on this (undocumented) feature.
const searchParams = new URLSearchParams(window.location.search);
const initialCameraPosString = searchParams.get("initialCameraPosition");
const initialCameraLookAtString = searchParams.get("initialCameraLookAt");
Expand Down

0 comments on commit 9e1b4ba

Please sign in to comment.