lay.pushUpdate();
    // }
  }
});
window.addEventListener('wheel', e => {
  if (window.document.pointerLockElement) {
    rig.menuMesh.listMesh.updateWheel(e.deltaX/100, -e.deltaY/100);
  }
});

const keys = {
  up: false,
  down: false,
  left: false,
  right: false,
};
const _makeButtons = () => ({
  trigger: false,
  bumper: false,
});
const lastButtons = [
  _makeButtons(),
  _makeButtons(),
];
const intersectionSpecs = [
  null,
  null,
];
window.addEventListener('keydown', e => {
  if (window.documen