Explorar o código

Fixed example code in zh documentation.

parke %!s(int64=5) %!d(string=hai) anos
pai
achega
2b624ace60
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      docs/manual/zh/introduction/Loading-3D-models.html

+ 2 - 2
docs/manual/zh/introduction/Loading-3D-models.html

@@ -75,7 +75,7 @@
 	</p>
 
 	<code>
-		import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
+		import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
 	</code>
 
 	<p>
@@ -84,7 +84,7 @@
 	</p>
 
 	<code>
-		var loader = new THREE.GLTFLoader();
+		var loader = new GLTFLoader();
 
 		loader.load( 'path/to/model.glb', function ( gltf ) {