ソースを参照

Merge remote branch 'alteredq/master' into test

Mr.doob 14 年 前
コミット
95bb462ed5

+ 2 - 1
examples/canvas_interactive_particles.html

@@ -37,6 +37,7 @@
 
 			var programStroke = function ( context ) {
 
+				context.lineWidth = 0.05;
 				context.beginPath();
 				context.arc( 0, 0, 1, 0, PI2, true );
 				context.closePath();
@@ -84,7 +85,7 @@
 				renderer = new THREE.CanvasRenderer();
 				renderer.setSize( window.innerWidth, window.innerHeight );
 
-				container.appendChild(renderer.domElement);
+				container.appendChild( renderer.domElement );
 
 				stats = new Stats();
 				stats.domElement.style.position = 'absolute';

+ 1 - 1
examples/webgl_trackballcamera_earth.html

@@ -129,7 +129,7 @@
 		scene.addLight( dirLight );
 
 		ambientLight = new THREE.AmbientLight( 0xFFFFFF );
-		scene.addLight( ambientLight );
+		//scene.addLight( ambientLight );
 
 		var planetTexture = THREE.ImageUtils.loadTexture( "textures/planets/earth_atmos_2048.jpg" ),
 		cloudsTexture     = THREE.ImageUtils.loadTexture( "textures/planets/earth_clouds_1024.png" ),