浏览代码

Clean up.

Mr.doob 11 年之前
父节点
当前提交
70a1f169e5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/webgl_multiple_views.html

+ 3 - 3
examples/webgl_multiple_views.html

@@ -53,10 +53,10 @@
 
 			var windowWidth, windowHeight;
 
-                        var dpr = window.devicePixelRatio || 1;
+			var dpr = window.devicePixelRatio || 1;
 
 			var views = [
-				{ 
+				{
 					left: 0,
 					bottom: 0,
 					width: 0.5,
@@ -285,7 +285,7 @@
 
 					view.updateCamera( camera, scene, mouseX, mouseY );
 
-                                        // multiply by the device pixel ratio in order to properly support high DPI displays
+					// multiply by the device pixel ratio in order to properly support high DPI displays
 					var left   = Math.floor( windowWidth  * view.left ) * dpr;
 					var bottom = Math.floor( windowHeight * view.bottom ) * dpr;
 					var width  = Math.floor( windowWidth  * view.width ) * dpr;