mirror of
https://github.com/storytold/spark.git
synced 2026-10-13 23:52:44 +00:00
Add missing import path to multiple viewpoints example
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
{
|
||||
"imports": {
|
||||
"three": "/examples/js/vendor/three/build/three.module.js",
|
||||
"three/addons/": "/examples/js/vendor/three/examples/jsm/",
|
||||
"@forge-gfx/forge": "/dist/forge.module.js"
|
||||
}
|
||||
}
|
||||
@@ -24,7 +25,8 @@
|
||||
<script type="module">
|
||||
import * as THREE from "three";
|
||||
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";
|
||||
|
||||
const scene = new THREE.Scene();
|
||||
|
||||
Reference in New Issue
Block a user