Parcourir la source

Removed unneeded code from buffergeometry example.

Mr.doob il y a 13 ans
Parent
commit
2a870f7794
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      examples/webgl_buffergeometry.html

+ 0 - 3
examples/webgl_buffergeometry.html

@@ -275,9 +275,6 @@
 
 			function onWindowResize() {
 
-				windowHalfX = window.innerWidth / 2;
-				windowHalfY = window.innerHeight / 2;
-
 				camera.aspect = window.innerWidth / window.innerHeight;
 				camera.updateProjectionMatrix();