Przeglądaj źródła

Fixed example. See #5815.

Mr.doob 10 lat temu
rodzic
commit
504a44ecaa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/webgldeferred_pointlights.html

+ 1 - 1
examples/webgldeferred_pointlights.html

@@ -351,7 +351,7 @@
 				windowHalfY = window.innerHeight / 2;
 
 				WIDTH = window.innerWidth;
-				HEIGHT = window.innerHeight - 2 * MARGIN;
+				HEIGHT = window.innerHeight;
 
 				renderer.setSize( WIDTH, HEIGHT );