#include "mex.h" #define IGL_HEADER_ONLY #include #include using namespace std; using namespace Eigen; extern void _main(); Eigen::MatrixXd readMatrix(const mxArray* mat) { double* ptr = mxGetPr(mat); int m = mxGetM(mat); int n = mxGetN(mat); Eigen::MatrixXd V; V.resize(m,n); for(int j=0;j()); return; }