|
|
template<mut_vector Out, vector_like< Out > U, vector_like< Out > V> |
| void | dxx::math::cross (const U &u, const V &v, Out &out) |
| | Cross product of two 3D vectors (via out parameter).
|
|
template<container_traits::returnable Out, vector_like< Out > U, vector_like< Out > V> |
| constexpr Out | dxx::math::cross (const U &u, const V &v) |
| | Cross product of two 3D vectors (via return value).
|
|
template<container_traits::returnable U, vector_like< U > V> |
| constexpr U | dxx::math::cross (const U &u, const V &v) |
| | Cross product of two 3D vectors (via return value of default type).
|
Cross product of 3D vectors.