Function rin::util::calc_fps [−][src]
pub fn calc_fps(curr_time: Instant, prev_time: Instant, frames: u64) -> f64
fps from time interval and frames passed
pub fn calc_fps(curr_time: Instant, prev_time: Instant, frames: u64) -> f64
fps from time interval and frames passed