BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_quaternion_rotate_vector.hpp File Reference
#include "cl_Quaternion.hpp"
#include "cl_Vector.hpp"
#include "assert.hpp"
Include dependency graph for fn_quaternion_rotate_vector.hpp:

Go to the source code of this file.

Namespaces

namespace  belfem
 USER GUIDES:

Functions

template<typename T>
void belfem::quaternion_rotate_vector (const Quaternion< T > &aQ, const Vector< T > &aVector, Vector< T > &aResult)
 Rotate a 3D vector by a unit quaternion (optimized, in-place).