mirror of
https://github.com/storytold/spark.git
synced 2026-10-22 08:16:06 +00:00
Change importmaps from sparkjs-dev to sparkjsdev
This commit is contained in:
@@ -179,13 +179,13 @@
|
|||||||
"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/",
|
"three/addons/": "/examples/js/vendor/three/examples/jsm/",
|
||||||
"@sparkjs-dev/spark": "/dist/spark.module.js"
|
"@sparkjsdev/spark": "/dist/spark.module.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import * as THREE from "three";
|
import * as THREE from "three";
|
||||||
import { SplatMesh, transcodeSpz } from "@sparkjs-dev/spark";
|
import { SplatMesh, transcodeSpz } from "@sparkjsdev/spark";
|
||||||
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
|
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
|
||||||
|
|
||||||
const sparkCanvasEl = document.querySelector(".spark-canvas");
|
const sparkCanvasEl = document.querySelector(".spark-canvas");
|
||||||
|
|||||||
Reference in New Issue
Block a user