#include #include #include #include #include int main(int argc, char * argv[]) { using namespace Eigen; using namespace igl::copyleft::cgal; using namespace std; using namespace igl; cout<(),M.F()); I.resize(M.F().rows(),1); // Compute colors based on original facets for(int f = 0;fbool { switch(key) { case ']': view_id = (view_id+1)%num_views; break; case '[': view_id = (view_id+num_views-1)%num_views; break; default: return false; } update(); return true; }; viewer.launch(); }