Skip to main content

classify_angle

Function classify_angle 

Source
pub fn classify_angle(radians: f32) -> AngleType
Expand description

Classifies a rotation in radians into an AngleType. Normalises to [0, 2π) first, then checks within EPS of each cardinal.