|
@@ -21952,9 +21952,11 @@ function WebVRManager( renderer ) {
|
|
|
|
|
|
var userHeight = frameOfReferenceType === 'stage' ? 1.6 : 0;
|
|
|
|
|
|
- if ( device === null ) {
|
|
|
+ if ( isPresenting() === false ) {
|
|
|
|
|
|
camera.position.set( 0, userHeight, 0 );
|
|
|
+ camera.rotation.set( 0, 0, 0 );
|
|
|
+
|
|
|
return camera;
|
|
|
|
|
|
}
|
|
@@ -22008,8 +22010,6 @@ function WebVRManager( renderer ) {
|
|
|
|
|
|
poseObject.updateMatrixWorld();
|
|
|
|
|
|
- if ( device.isPresenting === false ) return camera;
|
|
|
-
|
|
|
//
|
|
|
|
|
|
cameraL.near = camera.near;
|