pub fn fit_scale(design: (u32, u32), actual: (u32, u32)) -> f64Expand description
Uniform “contain” scale that fits design inside actual keeping aspect:
the game renders the design resolution through zoom * fit_scale so
content grows and shrinks with the window instead of showing more world.
Zero sizes fall back to 1.0 (a minimized window must not divide).