Template Function TRAP::Math::Max(genType, genType, genType, genType)#

Function Documentation#

template<typename genType>
constexpr genType TRAP::Math::Max(genType x, genType y, genType z, genType w)#

Retrieve the maximum value of x, y, z and w.

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

  • y – Specify the second value to compare.

  • z – Specify the third value to compare.

  • w – Specify the fourth value to compare.

Returns:

Returns the greatest value of x, y, z and w.