Dot#

template<typename T>
T Dot(
const XVector2<T> &v1,
const XVector2<T> &v2,
)#

Computes the dot product of two vectors.

Template Parameters:

T – The component type of the vectors.

Parameters:
  • v1[in] The first vector.

  • v2[in] The second vector.

Returns:

The dot product as a scalar value.