Function angle_sc::trig::cosine

source ·
pub fn cosine(angle: Radians, sin: UnitNegRange) -> UnitNegRange
Expand description

Calculate the cosine of an angle in Radians using the sine of the angle.
Corrects cos π/4 to 1/√2.