Pārlūkot izejas kodu

Add missing line

Diego Marcos 7 gadi atpakaļ
vecāks
revīzija
208d643b11
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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();