import { Template3d } from "@hitplay/playable_template";
import { CameraC } from "../controllers/CameraC";
import { FollowCameraC } from "../controllers/FollowCameraC";

export const resizeCb = () => {
  Template3d.resize();
  CameraC.setCamera(window.screenSize.portrait);
  // Re-sync offset from the new config (portrait/landscape) and correct camera position
  FollowCameraC.syncAndSnap();
};
