Explorar o código

WebVRManager: Fixed standingMatrix not applying to camera.

Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
360ca4b2c8
Modificáronse 1 ficheiros con 1 adicións e 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 );
 
 		}