dot
template <typename T>
T dot(const Vector3T< T > &a, const Vector3T< T > &b) noexceptParameters
| Name | Type |
|---|---|
a | const Vector3T< T > & |
b | const Vector3T< T > & |
Returns
T
Description
Dot product of two vectors.
template <typename T>
T dot(const QuaternionT< T > &a, const QuaternionT< T > &b) noexceptParameters
| Name | Type |
|---|---|
a | const QuaternionT< T > & |
b | const QuaternionT< T > & |
Returns
T
Description
Dot product of two quaternions (their 4-vectors).

