Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -82,8 +82,8 @@ export async function initializeViewer(config, instanceId) {
|
|
| 82 |
|
| 83 |
//prends les differents arguments de config.json
|
| 84 |
sogsUrl = config.sogs_json_url;
|
| 85 |
-
glbUrl = (config.glb_url !== undefined) ? config.glb_url : "https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/espace_expo/
|
| 86 |
-
presentoirUrl = (config.presentoir_url !== undefined) ? config.presentoir_url : "https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/espace_expo/
|
| 87 |
minZoom = parseFloat(config.minZoom || "1");
|
| 88 |
maxZoom = parseFloat(config.maxZoom || "20");
|
| 89 |
minAngle = parseFloat(config.minAngle || "-45");
|
|
|
|
| 82 |
|
| 83 |
//prends les differents arguments de config.json
|
| 84 |
sogsUrl = config.sogs_json_url;
|
| 85 |
+
glbUrl = (config.glb_url !== undefined) ? config.glb_url : "https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/espace_expo/sol_blanc_2.glb";
|
| 86 |
+
presentoirUrl = (config.presentoir_url !== undefined) ? config.presentoir_url : "https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/espace_expo/sol_blanc_2.glb";
|
| 87 |
minZoom = parseFloat(config.minZoom || "1");
|
| 88 |
maxZoom = parseFloat(config.maxZoom || "20");
|
| 89 |
minAngle = parseFloat(config.minAngle || "-45");
|