/** Shared physical chamber bounds for the camera and the fixed room scenery. */ export function roomComposition(width:number,height:number,glassZ:number) { const scale=Math.min(width,height),halfWidth=Math.max(width/2+.95*scale,height*.55),unit=halfWidth/1.45; return {halfWidth,unit,floor:-height/2-.24*scale,ceiling:Math.max(2.3,height/2+.73*scale),front:glassZ+.35*scale,rear:Math.max(4.2,glassZ+4.8*unit)}; }