Function oort_api::prelude::angle_diff

source ·
pub fn angle_diff(a: f64, b: f64) -> f64
Expand description

Returns the smallest rotation between angles a and b.

A positive result is a counter-clockwise rotation and negative is clockwise.