浏览代码

Fix semicolon missing/duplicate in webgl_postprocessing_unreal_bloom

Tristan Valcke 8 年之前
父节点
当前提交
7e3a0b60da
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/webgl_postprocessing_unreal_bloom.html

+ 2 - 2
examples/webgl_postprocessing_unreal_bloom.html

@@ -108,7 +108,7 @@
 					shading: THREE.SmoothShading
 				} );
 
-				var geometry = new THREE.TorusKnotGeometry( 18, 8, 150, 20 );;
+				var geometry = new THREE.TorusKnotGeometry( 18, 8, 150, 20 );
 				var torusMesh1 = new THREE.Mesh( geometry, standardMaterial );
 				torusMesh1.position.x = 0.0;
 				torusMesh1.castShadow = true;
@@ -154,7 +154,7 @@
 				var spotLight = new THREE.SpotLight( 0xffffff );
 				spotLight.position.set( 50, 100, 50 );
 				spotLight.angle = Math.PI / 7;
-				spotLight.penumbra = 0.8
+				spotLight.penumbra = 0.8;
 				spotLight.castShadow = true;
 				scene.add( spotLight );