operator*#

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

Multiplies two vectors component-wise.

Template Parameters:

T – The component type of the vectors.

Parameters:
  • lhs[in] The first vector.

  • rhs[in] The second vector.

Returns:

A new XVector2 with components as the product of corresponding components.