Add missing import path to multiple viewpoints example

This commit is contained in:
Diego Marcos Segura
2025-06-01 00:29:59 -07:00
parent 7d62dd1a8a
commit a506e51bd3
+3 -1
View File
@@ -17,6 +17,7 @@
{ {
"imports": { "imports": {
"three": "/examples/js/vendor/three/build/three.module.js", "three": "/examples/js/vendor/three/build/three.module.js",
"three/addons/": "/examples/js/vendor/three/examples/jsm/",
"@forge-gfx/forge": "/dist/forge.module.js" "@forge-gfx/forge": "/dist/forge.module.js"
} }
} }
@@ -24,7 +25,8 @@
<script type="module"> <script type="module">
import * as THREE from "three"; import * as THREE from "three";
import { ForgeRenderer, ForgeViewpoint, SplatMesh } from "@forge-gfx/forge"; import { ForgeRenderer, ForgeViewpoint, SplatMesh } from "@forge-gfx/forge";
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";
import { getAssetFileURL } from "/examples/js/get-asset-url.js"; import { getAssetFileURL } from "/examples/js/get-asset-url.js";
const scene = new THREE.Scene(); const scene = new THREE.Scene();