2
0
Эх сурвалжийг харах

avoid resetting poseObject if pose position isnt available

Brian Peiris 7 жил өмнө
parent
commit
a6703b2e74

+ 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();