#include "ObjConverter.h" #include #include using namespace std; static string model_path("data/city/model/"); int main(int argc, char* argv[]) { int returnCode = 0; ObjConverter converter; cout << "converting obj to dem format" << endl; if (!converter.Convert(model_path + argv[1], model_path + argv[2])) { cerr << "conversion failed" << endl; std::cin.get(); exit(0); } //std::cin.get(); cout << "conversion successful" << endl; return 0; }