Explorar el Código

WebVRManager: Fixed standingMatrix not applying to camera.

Mr.doob hace 8 años
padre
commit
360ca4b2c8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/renderers/webvr/WebVRManager.js

+ 1 - 0
src/renderers/webvr/WebVRManager.js

@@ -115,6 +115,7 @@ function WebVRManager( renderer ) {
 			standingMatrixInverse.getInverse( standingMatrix );
 
 			camera.matrixWorld.multiply( standingMatrix );
+			camera.matrixWorldInverse.multiply( standingMatrixInverse );
 
 		}