| 163 | /// x = a * b^T |
| 164 | template <typename T> |
| 165 | inline Matrix3<T> outer( const Vector3<T> & a, const Vector3<T> & b ) |
| 166 | { |
| 167 | return { a.x * b, a.y * b, a.z * b }; |
| 168 | } |
| 169 | |
| 170 | template <typename T> |
| 171 | constexpr Matrix3<T> Matrix3<T>::rotation( const Vector3<T> & axis, T angle ) noexcept MR_REQUIRES_IF_SUPPORTED( std::floating_point<T> ) |
no outgoing calls
no test coverage detected