Skip to main content

FRAME_SECONDS

Constant FRAME_SECONDS 

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

The duration of a frame at 60 Hz, in seconds.

A stepped world takes the duration of the frame it is stepped with, so a caller driving one at the display’s rate passes the real frame time; this is the round number the tests and the runs without a window use.