فهرست منبع

Fix implicit variable declaration in webgldeferred_animation, and feed end line

Tristan Valcke 8 سال پیش
والد
کامیت
fb87603cda
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      examples/webgldeferred_animation.html

+ 2 - 2
examples/webgldeferred_animation.html

@@ -178,7 +178,7 @@
 				room.position.y = size / 2 - 30;
 
 				// top
-				mesh = new THREE.Mesh( geometry, material );
+				var mesh = new THREE.Mesh( geometry, material );
 				mesh.rotation.x = Math.PI/2;
 				mesh.position.y = size / 2;
 				room.add( mesh );
@@ -291,4 +291,4 @@
 		</script>
 	</body>
 
-</html>
+</html>