Function trex::calc_millis [] [src]

pub fn calc_millis(dt: Duration) -> f32

Helper function for calculating the time in milliseconds since the last update.