Parcourir la source

Add missing line

Diego Marcos il y a 7 ans
Parent
commit
208d643b11
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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();