operator==#

template<typename T>
bool operator==(
const XVector2<T> &lhs,
const XVector2<T> &rhs,
)#

Tests for equality between two vectors.

Template Parameters:

T – The component type of the vectors.

Parameters:
  • lhs[in] The first vector to compare.

  • rhs[in] The second vector to compare.

Returns:

True if all corresponding components are equal, false otherwise.