fix copy/paste error

This commit is contained in:
Sébastien Loriot 2024-07-22 18:16:50 +02:00
parent 14bdf9bfb5
commit 4adcbe42b7
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ int main(int argc, char *argv[])
Polyhedron P1, P2; Polyhedron P1, P2;
std::ifstream ifs1((argc > 1) ? argv[1] : CGAL::data_file_path("meshes/cross_quad.off")); std::ifstream ifs1((argc > 1) ? argv[1] : CGAL::data_file_path("meshes/cross_quad.off"));
ifs1 >> P1; ifs1 >> P1;
std::ifstream ifs2((argc > 1) ? argv[1] : CGAL::data_file_path("meshes/beam.off")); std::ifstream ifs2((argc > 2) ? argv[2] : CGAL::data_file_path("meshes/beam.off"));
ifs2 >> P2; ifs2 >> P2;
// initialize nef from polyhedron // initialize nef from polyhedron