src/components/look-controls.js
function () {
    var el = this.el;
    var savedPose = this.savedPose;

    if (!this.hasSavedPose) { return; }

    // Reset camera orientation.
    el.object3D.position.copy(savedPose.position);
    el.object3D.rotation.copy(savedPose.rotation);
    this.hasSavedPose = false;
  }
function () {
    var el = this.el;
    var savedPose = this.savedPose;

    if (!this.hasSavedPose) { return; }

    // Reset camera orientation.
    el.object3D.position.copy(savedPose.position);
    el.object3D.rotation.copy(savedPose.rotation);
    this.hasSavedPose = false;
  }
function ( ) { var el = this . el ; var savedPose = this . savedPose ; if ( ! this . hasSavedPose ) { return ; } // Reset camera orientation. el . object3D . position . copy ( savedPose . position ) ; el . object3D . rotation . copy ( savedPose . rotation ) ; this . hasSavedPose = false ; }
Reset camera pose to before entering VR.
Reset camera pose to before entering VR .