
    renderer.render(scene, renderer.vr.enabled ? renderer.vr.getCamera(camera) : camera);
  };
  _render();

  const _updateMovement = () => {
    if (fakeXrDisplay) {
      // if (window.document.pointerLockElement) {
        // let moving = false;
        const speed = 0.004;
        const velocity = localVector.set(0, 0, 0);
        if (keys.up) {
          velocity.z -= speed * timeDiff;
          // moving = true;
        }
        if (keys.down) {
          velocity.z += speed * timeDiff;
          /