瀏覽代碼

WebVRManager: Fixed standingMatrix not applying to camera.

Mr.doob 8 年之前
父節點
當前提交
360ca4b2c8
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 );
 
 		}