Skip to main content

rotation_direction

Function rotation_direction 

Source
pub fn rotation_direction(from: f64, to: f64) -> f64
Expand description

The sign of the shortest rotation from one angle to another; 1 when they are exactly opposite.