Download src/shared/scene-space.mjs from xlt99/EmboDi: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/xlt99/EmboDi/resolve/main/src/shared/scene-space.mjs
- Command line
-
hf download hf://spaces/xlt99/EmboDi/src/shared/scene-space.mjs
-
curl -L -o scene-space.mjs https://huggingface.co/spaces/xlt99/EmboDi/resolve/main/src/shared/scene-space.mjs
387 Bytes
| const referenceFloor = (scene) => scene?.scanReconstruction?.referenceFloor || scene?.referenceFloor || scene?.objects.find((o) => o.id === "ground"); | |
| const isScanScene = (scene) => !!(scene?.scanStructure || scene?.scanReconstruction); | |
| const isRawScanScene = (scene) => !!scene?.scanStructure && !scene?.scanReconstruction; | |
| export { | |
| isRawScanScene, | |
| isScanScene, | |
| referenceFloor | |
| }; | |