Explorar el Código

Fix reference to params.viewOffsetX (#26433)

Nathan Bierema hace 2 años
padre
commit
f72dc50895
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/webgl_postprocessing_ssaa.html

+ 1 - 1
examples/webgl_postprocessing_ssaa.html

@@ -185,7 +185,7 @@
 				const aspect = width / height;
 
 				cameraP.aspect = aspect;
-				cameraP.setViewOffset( width, height, params.viewOffset, 0, width, height );
+				cameraP.setViewOffset( width, height, params.viewOffsetX, 0, width, height );
 				cameraO.updateProjectionMatrix();
 
 				cameraO.left = - height * aspect;