pub fn derive(
camera: &Camera,
xres: u32,
yres: u32,
hx: f32,
hy: f32,
hz: f32,
) -> CameraStateExpand description
Derive the per-frame CameraState for an xres × yres framebuffer
with projection centre (hx, hy) and focal length hz.