This commit is contained in:
Yanis Rigaudeau 2023-02-06 19:17:13 +01:00
parent d404c10de6
commit 9a3855bf1a
Signed by: yanis
GPG Key ID: 4DD2841DF1C94D83

View File

@ -105,7 +105,7 @@
markerRoot,
{
type: 'pattern',
patternUrl: '../../public/patterns/patt.hiro',
patternUrl: '/patterns/patt.hiro',
},
);
@ -121,7 +121,7 @@
var threeGLTFLoader = new THREE.GLTFLoader();
var model;
threeGLTFLoader.load('../../public/models/dingus_the_cat', function (gltf) {
threeGLTFLoader.load('/models/dingus_the_cat', function (gltf) {
model = gltf.scene.children[0];
model.name = 'dingus';