Skip to main content

Module cinema

Module cinema 

Source
Expand description

Framing a shot over a Backdrop (game ADR-0048): where the window has to start in the scene to look at a point at a zoom. Pure arithmetic; the cinematic’s shots (0817) and the debug menu’s “Scene camera” use it.

Re-exports§

pub use crate::frame::glyph_buffer::MAX_ZOOM;

Functions§

view
The origin_px (the scene pixel at the window’s top-left) that puts the scene pixel centre in the middle of the window.