Template Function TRAP::Math::ACos(Vec<L, T>)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::ACos(Vec<L, T> v)#

Arc cosine. The range of values returned by this function is [0, PI].

Note

Results are undefined if |x| > 1!

Parameters:

v – Specify the value whose arccosine to return.

Returns:

Angle whose cosine is x.