Min#

template<typename T>
XVector2<T> Min(
const XVector2<T> &a,
const XVector2<T> &b,
)#

Computes the component-wise minimum of two vectors.

Template Parameters:

T – The component type of the vectors.

Parameters:
  • a[in] The first vector.

  • b[in] The second vector.

Returns:

A new XVector2 with each component being the minimum of the corresponding components.