Adress todo of the github review

This commit is contained in:
Andreas Fabri 2017-06-30 15:24:14 +02:00
parent 6f6985065d
commit 360f955415
2 changed files with 4 additions and 4 deletions

View File

@ -81,13 +81,13 @@ void surface_mesh_cache_bbox(char* fname)
int main(int argc, char* argv[])
{
std::cout << "Polyhedron_3" << std::endl;
triangle_mesh<Polyhedron_3>(argv[1]);
triangle_mesh<Polyhedron_3>((argc>1)?argv[1]:"data/tetrahedron.off");
std::cout << "Surface_mesh" << std::endl;
triangle_mesh<Surface_mesh>(argv[1]);
triangle_mesh<Surface_mesh>((argc>1)?argv[1]:"data/tetrahedron.off");
std::cout << "Surface_mesh with cached Bbox_3" << std::endl;
surface_mesh_cache_bbox(argv[1]);
surface_mesh_cache_bbox((argc>1)?argv[1]:"data/tetrahedron.off");
return EXIT_SUCCESS;
}

View File

@ -466,7 +466,7 @@ private:
template <typename PM>
Bounding_box compute_bbox(const Primitive& pr, const PM&)const
{
return get(bbm, pr.id());
return get(bbm, pr.id());
}
Bounding_box compute_bbox(const Primitive& pr, const Default&)const