소스 검색

avoid resetting poseObject if pose position isnt available

Brian Peiris 7 년 전
부모
커밋
a6703b2e74
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/renderers/webvr/WebVRManager.js

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

@@ -142,10 +142,6 @@ function WebVRManager( renderer ) {
 			tempPosition.applyQuaternion(tempQuaternion);
 			poseObject.position.add( tempPosition );
 
-		} else {
-
-			poseObject.position.set( 0, 0, 0 );
-
 		}
 
 		poseObject.updateMatrixWorld();