소스 검색

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