浏览代码

templates

Former-commit-id: 29bc3fe2a0b6b6315f18465f79ccb3bd1339d0a8
Alec Jacobson 9 年之前
父节点
当前提交
121b8b82b1
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/igl/snap_to_fixed_up.cpp

+ 5 - 0
include/igl/snap_to_fixed_up.cpp

@@ -25,3 +25,8 @@ IGL_INLINE void igl::snap_to_fixed_up(
   dq = Quaternion<Qtype>::FromTwoVectors(up,proj_up);
   s = dq * q;
 }
+
+#ifdef IGL_STATIC_LIBRARY
+// Explicit template instanciations
+template void igl::snap_to_fixed_up<float>(Eigen::Quaternion<float, 0> const&, Eigen::Quaternion<float, 0>&);
+#endif