Create camera configuration based on device type.
Mobile devices get a tighter FOV and closer camera position for better framing of the smaller arena. Desktop gets a wider FOV and further camera for full arena view.
Korean: 카메라 설정 생성
Whether the device is mobile
Camera configuration for device type
const mobile = createCameraConfig(true);// { fov: 55, position: [0, 6, 10], near: 0.1, far: 1000 }const desktop = createCameraConfig(false);// { fov: 60, position: [0, 8, 12], near: 0.1, far: 1000 } Copy
const mobile = createCameraConfig(true);// { fov: 55, position: [0, 6, 10], near: 0.1, far: 1000 }const desktop = createCameraConfig(false);// { fov: 60, position: [0, 8, 12], near: 0.1, far: 1000 }
Create camera configuration based on device type.
Mobile devices get a tighter FOV and closer camera position for better framing of the smaller arena. Desktop gets a wider FOV and further camera for full arena view.
Korean: 카메라 설정 생성