bevy_math::ops

Function acos

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

Computes the arccosine of a number. Return value is in radians in the range [0, pi] or NaN if the number is outside the range [-1, 1].

Precision is specified when the libm feature is enabled.