#include "igl_inline.h"
#include <Eigen/Core>
#include "unproject_ray.cpp"
Go to the source code of this file.
|
template<typename Derivedpos , typename Derivedmodel , typename Derivedproj , typename Derivedviewport , typename Deriveds , typename Deriveddir > |
void | igl::unproject_ray (const Eigen::MatrixBase< Derivedpos > &pos, const Eigen::MatrixBase< Derivedmodel > &model, const Eigen::MatrixBase< Derivedproj > &proj, const Eigen::MatrixBase< Derivedviewport > &viewport, Eigen::PlainObjectBase< Deriveds > &s, Eigen::PlainObjectBase< Deriveddir > &dir) |
| Construct a ray (source point + direction vector) given a screen space positions (e.g.
|
|