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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Q_type >
void igl::quat_to_axis_angle (const Q_type *q, Q_type *axis, Q_type &angle)
 Convert quat representation of a rotation to axis angle 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.
 
template<typename Q_type >
void igl::quat_to_axis_angle_deg (const Q_type *q, Q_type *axis, Q_type &angle)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.include/igl/quat_to_axis_angle.h.