Skip to content

Commit 294ce16

Browse files
committed
fix model paths for MMDLoader
1 parent 16f435a commit 294ce16

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/scene.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export async function createScene(container: HTMLElement) {
4949
sync: true,
5050
});
5151
const loader = new MMDLoader();
52-
loader.setAnimationPath("/models/");
53-
loader.setPath("/models/");
54-
loader.setResourcePath("/models/");
52+
loader.setAnimationPath("./models/");
53+
loader.setPath("./models/");
54+
loader.setResourcePath("./models/");
5555

5656
const ambient = new THREE.HemisphereLight(0xd9ebff, 0x08030f, 1.15);
5757
const fillLight = new THREE.PointLight(0x75dfff, 6, 20, 2);

0 commit comments

Comments
 (0)