Template Function TRAP::Math::Max(Vec<L, T>, const Vec<L, T>&)#

Function Documentation#

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

Retrieve the maximum value of x and y.

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

  • b – Specify the second value to compare.

Returns:

y if x < y; otherwise it returns x.