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

Function Documentation#

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

Standard trigonometric cosine function. Values returned by this function will range from [-1, 1].

Parameters:

v – Specify the quantity, in radians, of which to return the cosine.

Returns:

Cosine.