Procházet zdrojové kódy

Fix reference to params.viewOffsetX (#26433)

Nathan Bierema před 2 roky
rodič
revize
f72dc50895
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;