Skip to main content

FILL_SCALE

Constant FILL_SCALE 

Source
const FILL_SCALE: f64 = 2.0;
Expand description

Base scale that fills the NDC [-1, 1] viewport: the screen sprite is anchored centre with a [0, 1]² local rect, so a scale of 2 maps the full source frame onto [-1, 1].