5#ifndef SAPPHIRE_ENGINE_TRANSFORM_ROTATE_AXIS_FUNCTOR_GUARD
6#define SAPPHIRE_ENGINE_TRANSFORM_ROTATE_AXIS_FUNCTOR_GUARD
42 template <
typename T,
template <
typename>
typename... TrArgs>
45 if constexpr (TrHasComponent<TrRotation>())
46 return _tr.rotation * _axis;
Vector 3 type implementation.
Compute rotated axis from transform. Functor implementation.
Definition TransformRotateAxisFunctor.hpp:31
Vec3< T > operator()(const Tr< T, TrArgs... > &_tr, const Vec3< T > &_axis)
Compute rotated axis from transform and input axis.
Definition TransformRotateAxisFunctor.hpp:43
Transform Sapphire's class.
Definition Transform.hpp:33
Vector 3 Sapphire-Maths class.
Definition Vector3.hpp:43