libigl v2.5.0
Loading...
Searching...
No Matches
snap_to_fixed_up.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "snap_to_fixed_up.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Qtype >
void igl::snap_to_fixed_up (const Eigen::Quaternion< Qtype > &q, Eigen::Quaternion< Qtype > &s)
 Snap an arbitrary rotation to a rotation resulting from a rotation about the y-axis then the x-axis (maintaining fixed up like two_axis_valuator_fixed_up.)