8#ifndef IGL_UNPROJECT_RAY_H
9#define IGL_UNPROJECT_RAY_H
26 typename Derivedmodel,
28 typename Derivedviewport,
32 const Eigen::MatrixBase<Derivedpos> & pos,
33 const Eigen::MatrixBase<Derivedmodel> & model,
34 const Eigen::MatrixBase<Derivedproj> & proj,
35 const Eigen::MatrixBase<Derivedviewport> & viewport,
36 Eigen::PlainObjectBase<Deriveds> & s,
37 Eigen::PlainObjectBase<Deriveddir> & dir);
39#ifndef IGL_STATIC_LIBRARY
40# include "unproject_ray.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void 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....