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

Function Documentation#

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

Retrieve the maximum value of x, y and z.

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

  • y – Specify the second value to compare.

  • z – Specify the third value to compare.

Returns:

Returns the greatest value of x, y and z.