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

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::Min(Vec<L, T> a, T b)#

Retrieve the minimum value of x and y.

Parameters:
  • a – Specify the first value to compare.

  • b – Specify the second value to compare.

Returns:

y if y < x; otherwise it returns x.