Skip to main content

FIXED_STEP

Constant FIXED_STEP 

Source
pub const FIXED_STEP: f32 = _ /* 0.0166666675f32 */;
Expand description

The timestep a scene is stepped by when it is drawn without a display.

A windowed run advances by how long its last frame took, so its pace depends on the machine. Drawing to compare against a stored frame has to be reproducible instead, and this is the fixed step that makes it so.