Boost QVM

operator*(q,v)

#include <boost/qvm/qv.hpp>

namespace boost
{
    namespace qvm
    {
        //Only enabled if:
        //  is_q<A>::value &&
        //  is_v<B>::value && v_traits<B>::dim==3
        template <class A,class B>
        typename deduce_v2<A,B,3>::type
        operator*( A const & a, B const & b );
    }
}

Returns:

The result of rotating the vector b by the quaternion a.


See also: boost/qvm/qv.hpp