+1
-1
README.md
+1
-1
README.md
···
16
16
17
17
## glTF 2.0 Resources
18
18
19
-
- [THREE.GLTFLoader](https://github.com/mrdoob/three.js/blob/dev/examples/js/loaders/GLTFLoader.js)
19
+
- [THREE.GLTFLoader](https://threejs.org/docs/#examples/en/loaders/GLTFLoader)
20
20
- [glTF 2.0 Specification](https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md)
21
21
- [glTF 2.0 Sample Models](https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/)
22
22
+1
-1
index.html
+1
-1
index.html
···
25
25
three.js r148
26
26
</a>
27
27
<span class="separator layout-md"> | </span>
28
-
<a class="item layout-md" target="_blank" href="https://github.com/mrdoob/three.js/blob/r148/examples/js/loaders/GLTFLoader.js">
28
+
<a class="item layout-md" target="_blank" href="https://github.com/mrdoob/three.js/blob/r148/examples/jsm/loaders/GLTFLoader.js">
29
29
THREE.GLTFLoader@r148
30
30
</a>
31
31
<span class="separator"> | </span>
+2
-2
src/viewer.js
+2
-2
src/viewer.js
···
39
39
40
40
const MANAGER = new LoadingManager();
41
41
const THREE_PATH = `https://unpkg.com/three@0.${REVISION}.x`
42
-
const DRACO_LOADER = new DRACOLoader( MANAGER ).setDecoderPath( `${THREE_PATH}/examples/js/libs/draco/gltf/` );
43
-
const KTX2_LOADER = new KTX2Loader( MANAGER ).setTranscoderPath( `${THREE_PATH}/examples/js/libs/basis/` );
42
+
const DRACO_LOADER = new DRACOLoader( MANAGER ).setDecoderPath( `${THREE_PATH}/examples/jsm/libs/draco/gltf/` );
43
+
const KTX2_LOADER = new KTX2Loader( MANAGER ).setTranscoderPath( `${THREE_PATH}/examples/jsm/libs/basis/` );
44
44
45
45
const IS_IOS = isIOS();
46
46