Template Function TRAP::Math::Dot(const tQuat<T>&, const tQuat<T>&)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Dot(const tQuat<T> &x, const tQuat<T> &y)#

Calculate the dot product.

Parameters:
  • x – Specifies the first of two quaternions.

  • y – Specifies the second of two quaternions.

Returns:

Compute a cross product.