libigl v2.5.0
Loading...
Searching...
No Matches
rotate_by_quat.h File Reference
#include "igl_inline.h"
#include "rotate_by_quat.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Q_type >
void igl::rotate_by_quat (const Q_type *v, const Q_type *q, Q_type *out)
 Compute rotation of a given vector/point by a quaternion A Quaternion, q, is defined here as an arrays of four scalars (x,y,z,w), such that q = x*i + y*j + z*k + w.