bevy_math::ops

Function cos

Source
pub fn cos(x: f32) -> f32
Available on non-crate feature libm only.
Expand description

Computes the cosine of a number (in radians).

Precision is specified when the libm feature is enabled.