mirror of https://github.com/CGAL/cgal
avoid passing default map (that is already the default)
The c++03 implementation of constructors of AABB-tree expect arguments to be passed by reference and a rvalue can't be taken by const-ref
This commit is contained in:
parent
71175e13bd
commit
d7fa388f85
|
|
@ -93,7 +93,7 @@ void test_intersections(Index index, const char* type)
|
|||
collision_detection.add_mesh(tm1, params::face_index_map(get(index, tm1))); // 0
|
||||
// add tm1 using an external tree
|
||||
typename CGAL::Rigid_triangle_mesh_collision_detection<TriangleMesh>::AABB_tree
|
||||
tm1_tree(boost::begin(faces(tm1)), boost::end(faces(tm1)), tm1, get(boost::vertex_point, tm1));
|
||||
tm1_tree(boost::begin(faces(tm1)), boost::end(faces(tm1)), tm1);
|
||||
collision_detection.add_mesh(tm1_tree, tm1, params::face_index_map(get(index, tm1))); // 1 small_spheres
|
||||
collision_detection.add_mesh(tm2, params::face_index_map(get(index, tm2))); // 2 blobby
|
||||
collision_detection.add_mesh(tm3, params::face_index_map(get(index, tm3))); // 3 large_cube_coplanar
|
||||
|
|
|
|||
Loading…
Reference in New Issue