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

Function Documentation#

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

Retrieve the minimum value of x and y.

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

  • b – Specify the second value to compare.

  • c – Specify the third value to compare.

  • d – Specify the fourth value to compare.

Returns:

Returns the minimum component-wise values of 4 inputs