bevy_math::ops

Function sin_cos

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

Simultaneously computes the sine and cosine of the number, x. Returns (sin(x), cos(x)).

Precision is specified when the libm feature is enabled.