SA_Maths
Sapphire Suite's C++ Maths Library
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
Public Member Functions | List of all members
SA::TrRotateAxisFunctor Class Reference

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.
 

Detailed Description

Compute rotated axis from transform. Functor implementation.

Member Function Documentation

◆ operator()()

template<typename T , template< typename > typename... TrArgs>
Vec3< T > SA::TrRotateAxisFunctor::operator() ( const Tr< T, TrArgs... > & _tr,
const Vec3< T > & _axis )
inline

Compute rotated axis from transform and input axis.

Template Parameters
TTransform type.
TrArgsTansform components.
Parameters
_trInput transform used for rotation (if any).
_axisInput axis to rotate.
Returns
Vec3<T> Rotated axis from transform.

The documentation for this class was generated from the following file: