Explorar el Código

Fixing improper aspect ratio on window resize

Dávid Komorowicz hace 7 años
padre
commit
a2a744c891
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/webgl_morphnormals.html

+ 1 - 1
examples/webgl_morphnormals.html

@@ -148,7 +148,7 @@
 
 				renderer.setSize( SCREEN_WIDTH, SCREEN_HEIGHT );
 
-				camera.aspect = 0.5 * SCREEN_WIDTH / SCREEN_HEIGHT;
+				camera.aspect =SCREEN_WIDTH / SCREEN_HEIGHT;
 				camera.updateProjectionMatrix();
 
 			}