angle_sc::trig

Function arctan2d

Source
pub fn arctan2d(sin: UnitNegRange, cos: UnitNegRange) -> Degrees
Expand description

Accurately calculate an angle in Degrees from its sine and cosine.

  • sin, cos the sine and cosine of the angle in UnitNegRanges.

returns the angle in Degrees.