Skip to main content

round_to_i32

Function round_to_i32 

Source
pub fn round_to_i32(value: f64) -> i32
Expand description

Rounds a value known to be within i32 range. Callers pass angles bounded by 360.