fix path
This commit is contained in:
parent
d404c10de6
commit
9a3855bf1a
@ -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';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user