浏览代码

remove commented out code

aardgoose 6 年之前
父节点
当前提交
3970e422c5
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      examples/webgl_layers.html

+ 0 - 2
examples/webgl_layers.html

@@ -56,7 +56,6 @@
 				scene = new THREE.Scene();
 				scene = new THREE.Scene();
 				scene.background = new THREE.Color( 0xf0f0f0 );
 				scene.background = new THREE.Color( 0xf0f0f0 );
 
 
-//				var light = new THREE.DirectionalLight( 0xffffff, 1 );
 				var light = new THREE.PointLight( 0xffffff, 1 );
 				var light = new THREE.PointLight( 0xffffff, 1 );
 				light.position.set( 1, 1, 1 ).normalize();
 				light.position.set( 1, 1, 1 ).normalize();
 				light.layers.enable( 0 );
 				light.layers.enable( 0 );
@@ -65,7 +64,6 @@
 
 
 				scene.add( camera );
 				scene.add( camera );
 				camera.add( light );
 				camera.add( light );
-//				scene.add( light );
 
 
 				var colors = [ 0xff0000, 0x00ff00, 0x0000ff ];
 				var colors = [ 0xff0000, 0x00ff00, 0x0000ff ];
 				var geometry = new THREE.BoxBufferGeometry( 20, 20, 20 );
 				var geometry = new THREE.BoxBufferGeometry( 20, 20, 20 );