Explorar o código

WebVRCamera: Fixed incorrect cameraR.bound. See #10927.

Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
b4ab886a18
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/vr/WebVRCamera.js

+ 1 - 1
examples/js/vr/WebVRCamera.js

@@ -147,7 +147,7 @@ THREE.WebVRCamera = function ( display, renderer ) {
 		} else {
 
 			cameraL.bounds.set( 0.0, 0.0, 0.5, 1.0 );
-			cameraR.bounds.set( 0.0, 0.0, 0.5, 1.0 );
+			cameraR.bounds.set( 0.5, 0.0, 0.5, 1.0 );
 
 		}