Эх сурвалжийг харах

[TEMPLATES]

Former-commit-id: f4d4b37c56e71828230f83dcff54911a87387a20
Alec Jacobson 7 жил өмнө
parent
commit
f24d3dfa70

+ 6 - 0
include/igl/combine.cpp

@@ -55,3 +55,9 @@ IGL_INLINE void igl::combine(
     assert(kf == F.rows());
   }
 }
+
+#ifdef IGL_STATIC_LIBRARY
+// Explicit template instantiations
+template void igl::combine<Eigen::Matrix<double, -1, 3, 1, -1, 3>, Eigen::Matrix<int, -1, 3, 1, -1, 3>, Eigen::Matrix<double, -1, 3, 1, -1, 3>, Eigen::Matrix<int, -1, 3, 1, -1, 3> >(std::vector<Eigen::Matrix<double, -1, 3, 1, -1, 3>, std::allocator<Eigen::Matrix<double, -1, 3, 1, -1, 3> > > const&, std::vector<Eigen::Matrix<int, -1, 3, 1, -1, 3>, std::allocator<Eigen::Matrix<int, -1, 3, 1, -1, 3> > > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 1, -1, 3> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 1, -1, 3> >&);
+#endif
+