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

    this.savedPose.position.copy(el.object3D.position);
    this.savedPose.rotation.copy(el.object3D.rotation);
    this.hasSavedPose = true;
  }
function () {
    var el = this.el;

    this.savedPose.position.copy(el.object3D.position);
    this.savedPose.rotation.copy(el.object3D.rotation);
    this.hasSavedPose = true;
  }
function ( ) { var el = this . el ; this . savedPose . position . copy ( el . object3D . position ) ; this . savedPose . rotation . copy ( el . object3D . rotation ) ; this . hasSavedPose = true ; }
Save camera pose before entering VR to restore later if exiting.
Save camera pose before entering VR to restore later if exiting .