pub fn sincosd(degrees: Degrees) -> (UnitNegRange, UnitNegRange)
Expand description
Calculate the sine and cosine of an angle from a value in Degrees
.
Note: calculates the cosine of the angle from its sine and overrides the sine and cosine for ±30° and ±45° to their correct values.
degrees
the angle inDegrees
returns sine and cosine of the angle as UnitNegRange
s.