瀏覽代碼

Add missing line

Diego Marcos 7 年之前
父節點
當前提交
208d643b11
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/renderers/webvr/WebVRManager.js

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

@@ -132,6 +132,7 @@ function WebVRManager( renderer ) {
 		  standingMatrix.makeTranslation(0, scope.userHeight, 0);
 		}
 
+		standingMatrixInverse.getInverse( standingMatrix );
 		poseObject.position.applyMatrix4( standingMatrix );
 		poseObject.updateMatrixWorld();