Max#

template<typename T>
inline XVector3<T> Max(
const XVector3<T> &a,
const XVector3<T> &b,
)#

Component-wise maximum of two vectors.

Template Parameters:

T – Numeric type of vector components

Parameters:
  • a[in] First vector

  • b[in] Second vector

Returns:

Vector with maximum components from both inputs