code: function onWindowResize() {
      // 0
      camera.canvas = {
          width: container.offsetWidth,
          height: container.offsetHeight,
      };
      camera.fitBox(2);
  
      renderer.setSize(container.offsetWidth, container.offsetHeight);
  
      // 1
      camera1.canvas = {
          width: container1.offsetWidth,
          height: container1.offsetHeight,
      };
      camera1.fitBox(2);
  
      renderer1.setSize(container1.offsetWidth, container1.offsetHeight);
  }
docs: handle resize