Function XMScalarACos

Source
pub fn XMScalarACos(Value: f32) -> f32
Expand description

Computes the arccosine of a floating-point number.

§Parameters

Value float value between -1.0 and 1.0.

§Return value

Returns the inverse cosine of Value.

§Remarks

This function uses a 7-degree minimax approximation.

§Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMScalarACos