use make_hexahedron(Iso_cuboid_3)

This commit is contained in:
Jane Tournois 2024-03-06 11:52:42 +01:00
parent 75160fc24b
commit 4555c3e0f7
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ bbox(bool extended)
Scene_item* item;
EPICK::Iso_cuboid_3 ic(bbox);
SMesh* p = new SMesh;
CGAL::make_hexahedron(ic[0], ic[1], ic[2], ic[3], ic[4], ic[5], ic[6], ic[7], *p);
CGAL::make_hexahedron(ic, *p);
item = new Scene_surface_mesh_item(p);
item->setName(name + (extended ? " (Extended Bbox)" : " (Bbox)"));