SA_Maths
Sapphire Suite's C++ Maths Library
|
Compute rotated axis from transform. Functor implementation. More...
#include <TransformRotateAxisFunctor.hpp>
Public Member Functions | |
template<typename T , template< typename > typename... TrArgs> | |
Vec3< T > | operator() (const Tr< T, TrArgs... > &_tr, const Vec3< T > &_axis) |
Compute rotated axis from transform and input axis. | |
Compute rotated axis from transform. Functor implementation.
|
inline |
Compute rotated axis from transform and input axis.
T | Transform type. |
TrArgs | Tansform components. |
_tr | Input transform used for rotation (if any). |
_axis | Input axis to rotate. |