|
@@ -50,10 +50,10 @@ IGL_INLINE void igl::cotangent(const MatV & V, const MatF & F, MatC & C)
|
|
|
}else if(simplex_size == 4)
|
|
|
{
|
|
|
// Tetrahedra
|
|
|
- typedef Matrix<typename MatC::Scalar,3,1> Vec3;
|
|
|
- typedef Matrix<typename MatC::Scalar,3,3> Mat3;
|
|
|
- typedef Matrix<typename MatC::Scalar,3,4> Mat3x4;
|
|
|
- typedef Matrix<typename MatC::Scalar,4,4> Mat4x4;
|
|
|
+ typedef Matrix<typename MatV::Scalar,3,1> Vec3;
|
|
|
+ typedef Matrix<typename MatV::Scalar,3,3> Mat3;
|
|
|
+ typedef Matrix<typename MatV::Scalar,3,4> Mat3x4;
|
|
|
+ typedef Matrix<typename MatV::Scalar,4,4> Mat4x4;
|
|
|
|
|
|
// preassemble right hand side
|
|
|
// COLUMN-MAJOR ORDER FOR LAPACK
|
|
@@ -132,6 +132,8 @@ IGL_INLINE void igl::cotangent(const MatV & V, const MatF & F, MatC & C)
|
|
|
#ifndef IGL_HEADER_ONLY
|
|
|
// Explicit template specialization
|
|
|
// generated by autoexplicit.sh
|
|
|
+template void igl::cotangent<Eigen::PlainObjectBase<Eigen::Matrix<float, -1, 3, 1, -1, 3> >, Eigen::PlainObjectBase<Eigen::Matrix<unsigned int, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::PlainObjectBase<Eigen::Matrix<float, -1, 3, 1, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<unsigned int, -1, -1, 1, -1, -1> > const&, Eigen::Matrix<double, -1, -1, 0, -1, -1>&);
|
|
|
+// generated by autoexplicit.sh
|
|
|
template void igl::cotangent<Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >, Eigen::MatrixBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::MatrixBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > const&, Eigen::Matrix<double, -1, -1, 0, -1, -1>&);
|
|
|
// generated by autoexplicit.sh
|
|
|
template void igl::cotangent<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, Eigen::Matrix<int, -1, -1, 0, -1, -1> const&, Eigen::Matrix<double, -1, -1, 0, -1, -1>&);
|