Browse Source

WebVRManager: Fixed standingMatrix not applying to camera.

Mr.doob 8 years ago
parent
commit
360ca4b2c8
1 changed files with 1 additions and 0 deletions
  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 );
 
 		}