From 713a6b6155dbbf6050788ad098a4a10a03dc4d6d Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 19 Jan 2009 23:12:11 +0000 Subject: [PATCH] Passed const bbox parameter by reference in the getBBox --- vcg/space/index/grid_closest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/space/index/grid_closest.h b/vcg/space/index/grid_closest.h index c3a11077..d8f5736f 100644 --- a/vcg/space/index/grid_closest.h +++ b/vcg/space/index/grid_closest.h @@ -267,7 +267,7 @@ namespace vcg{ template unsigned int GridGetInBox(SPATIALINDEXING &_Si, OBJMARKER & _marker, - const vcg::Box3 _bbox, + const vcg::Box3 &_bbox, OBJPTRCONTAINER & _objectPtrs) { typename SPATIALINDEXING::CellIterator first,last,l;