Skip to main content

diff

Function diff 

Source
pub fn diff(from_deg: f64, to_deg: f64) -> f64
Expand description

Signed difference from - to, wrapped to -180.0..=180.0.

The sign is the direction you would turn: positive means from lies to starboard of to.