bevy_math::ops

Function cos

source
pub fn cos(x: f32) -> f32
Expand description

Computes the cosine of a number (in radians).

Precision is specified when the libm feature is enabled.