Write a CameraSnapshot back onto the live camera + controls.
Position / up / near / far and the projection-specific parameter (fov for
perspective, zoom for ortho) are applied in place; then the controls are
re-targeted and re-initialised so subsequent orbit/fly updates don't snap
the camera back. Shared by restoreSnapshot and the embedder API's
setCameraPose().
Write a CameraSnapshot back onto the live camera + controls.
Position / up / near / far and the projection-specific parameter (fov for perspective, zoom for ortho) are applied in place; then the controls are re-targeted and re-initialised so subsequent orbit/fly updates don't snap the camera back. Shared by restoreSnapshot and the embedder API's
setCameraPose().