// // IGL Lib - Simple C++ mesh library // // Copyright 2011, Daniele Panozzo. All rights reserved. #ifndef WRITEOBJ_H #define WRITEOBJ_H #include #include #include #include namespace igl { // Write a mesh in an ascii obj file void writeOBJ(std::string str, Eigen::MatrixXd& V, Eigen::MatrixXi& F) { std::ofstream s(str.c_str()); for(int i=0;i