Browse Source

./unproject_in_mesh.cpp

Former-commit-id: f35746bde9c483a6e0a0a2272ff0de51e2a204c2
Alec Jacobson 9 years ago
parent
commit
a215b41311
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/igl/unproject_ray.cpp

+ 4 - 0
include/igl/unproject_ray.cpp

@@ -36,3 +36,7 @@ IGL_INLINE void igl::unproject_ray(
   igl::unproject(win_d,model,proj,viewport,d);
   dir = d-s;
 }
+
+#ifdef IGL_STATIC_LIBRARY
+template void igl::unproject_ray<Eigen::Matrix<float, 2, 1, 0, 2, 1>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, Eigen::Matrix<float, 4, 1, 0, 4, 1>, Eigen::Matrix<float, 3, 1, 0, 3, 1>, Eigen::Matrix<float, 3, 1, 0, 3, 1> >(Eigen::PlainObjectBase<Eigen::Matrix<float, 2, 1, 0, 2, 1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 4, 0, 4, 4> > const&, Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 4, 0, 4, 4> > const&, Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1, 0, 4, 1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<float, 3, 1, 0, 3, 1> >&, Eigen::PlainObjectBase<Eigen::Matrix<float, 3, 1, 0, 3, 1> >&);
+#endif