Skip to main content

approach_degrees

Function approach_degrees 

Source
pub fn approach_degrees(current: f32, target: f32, max_delta: f32) -> f32
Expand description

Rotates an angle in degrees towards target along the short way by at most max_delta.