diff --git a/docs/manual/en/introduction/Loading-3D-models.html b/docs/manual/en/introduction/Loading-3D-models.html index 2debd90911ec31a36ca1d5f2a413c165e6de2313..85e70f631c73ffbe4438f42fce6cf893e2d03049 100644 --- a/docs/manual/en/introduction/Loading-3D-models.html +++ b/docs/manual/en/introduction/Loading-3D-models.html @@ -85,7 +85,7 @@
- import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
+ import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
@@ -95,7 +95,7 @@
- var loader = new THREE.GLTFLoader();
+ var loader = new GLTFLoader();
loader.load( 'path/to/model.glb', function ( gltf ) {
diff --git a/docs/manual/zh/introduction/Loading-3D-models.html b/docs/manual/zh/introduction/Loading-3D-models.html
index cfb7e4c4f17511be72ba78a9281948ea670dd126..fff4074fc45b6dea5e12e44970cd4a16278a7e66 100644
--- a/docs/manual/zh/introduction/Loading-3D-models.html
+++ b/docs/manual/zh/introduction/Loading-3D-models.html
@@ -75,7 +75,7 @@
- import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
+ import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
@@ -84,7 +84,7 @@
- var loader = new THREE.GLTFLoader();
+ var loader = new GLTFLoader();
loader.load( 'path/to/model.glb', function ( gltf ) {