Spaces:
Sleeping
Sleeping
Download app/src/modules/camera/cameraFocus.ts from Junyueeeeee/SparkSplat-Viewer: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/spaces/Junyueeeeee/SparkSplat-Viewer/resolve/main/app/src/modules/camera/cameraFocus.ts
- Command line
-
hf download hf://spaces/Junyueeeeee/SparkSplat-Viewer/app/src/modules/camera/cameraFocus.ts
-
curl -L -o cameraFocus.ts https://huggingface.co/spaces/Junyueeeeee/SparkSplat-Viewer/resolve/main/app/src/modules/camera/cameraFocus.ts
261 Bytes
| import * as THREE from 'three' | |
| export const cameraFocusTarget = { current: null as THREE.Vector3 | null } | |
| /** Set this to an object id; ObjectGrid resolves it to a world position next frame. */ | |
| export const pendingFocusId = { current: null as string | null } | |