2
0
Эх сурвалжийг харах

GLTFLoader: Fix whitespace.

Don McCurdy 7 жил өмнө
parent
commit
3cef16521b

+ 7 - 7
docs/examples/loaders/GLTFLoader.html

@@ -92,18 +92,18 @@
 		</p>
 
 		<code>
-loader.load('foo.gltf', function ( gltf ) {
+		loader.load('foo.gltf', function ( gltf ) {
 
-  var scene = gltf.scene;
+			var scene = gltf.scene;
 
-  var mesh = scene.children[ 3 ];
+			var mesh = scene.children[ 3 ];
 
-  var fooExtension = mesh.userData.gltfExtensions.EXT_foo;
+			var fooExtension = mesh.userData.gltfExtensions.EXT_foo;
 
-  gltf.parser.getDependency( 'bufferView', fooExtension.bufferView )
-    .then( function ( fooBuffer ) { ... } );
+			gltf.parser.getDependency( 'bufferView', fooExtension.bufferView )
+				.then( function ( fooBuffer ) { ... } );
 
-});
+		} );
 		</code>
 
 		<br>