18 lines
274 B
C++
18 lines
274 B
C++
#include "my_mesh.h"
|
||
|
||
#include <iostream>
|
||
|
||
|
||
int main(int argc, char *argv[]) {
|
||
using namespace std;
|
||
|
||
if (argc != 2) {
|
||
cerr << "Utilisation : " << argv[0] << " [fichier.obj]" << endl;
|
||
return 1;
|
||
}
|
||
MyMesh mesh;
|
||
OpenMesh::IO::read_mesh(mesh, argv[1]);
|
||
|
||
return 0;
|
||
}
|