|
|
◆ cross_product() [1/2]
| constexpr auto cross_product |
( |
const std::array< T_Type, 3 > & |
lhs, |
|
|
const std::array< T_Type, 3 > & |
rhs |
|
) |
| -> std::array<T_Type, 3> |
|
constexprnoexcept |
Calculate the cross product of two 3d-vectors.
- Template Parameters
-
| T_Type | Data type of the vector elements and the returned value |
- Parameters
-
| [in] | lhs | Data of the vector on the left-hand side of the operator |
| [in] | rhs | Data of the vector on the right-hand side of the operator |
- Returns
- Cross product
|