8#ifndef IGL_ROTATION_MATRIX_FROM_DIRECTIONS_H 
    9#define IGL_ROTATION_MATRIX_FROM_DIRECTIONS_H 
   23  template <
typename Scalar>
 
   25    const Eigen::Matrix<Scalar, 3, 1> v0,
 
   26    const Eigen::Matrix<Scalar, 3, 1> v1);
 
   29#ifndef IGL_STATIC_LIBRARY 
   30#include "rotation_matrix_from_directions.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
Eigen::Matrix< Scalar, 3, 3 > rotation_matrix_from_directions(const Eigen::Matrix< Scalar, 3, 1 > v0, const Eigen::Matrix< Scalar, 3, 1 > v1)
Given 2 vectors centered on origin calculate the rotation matrix from first to the second.