Passed const bbox parameter by reference in the getBBox
This commit is contained in:
parent
266ddc1a42
commit
713a6b6155
|
@ -267,7 +267,7 @@ namespace vcg{
|
||||||
template <class SPATIALINDEXING,class OBJMARKER, class OBJPTRCONTAINER>
|
template <class SPATIALINDEXING,class OBJMARKER, class OBJPTRCONTAINER>
|
||||||
unsigned int GridGetInBox(SPATIALINDEXING &_Si,
|
unsigned int GridGetInBox(SPATIALINDEXING &_Si,
|
||||||
OBJMARKER & _marker,
|
OBJMARKER & _marker,
|
||||||
const vcg::Box3<typename SPATIALINDEXING::ScalarType> _bbox,
|
const vcg::Box3<typename SPATIALINDEXING::ScalarType> &_bbox,
|
||||||
OBJPTRCONTAINER & _objectPtrs)
|
OBJPTRCONTAINER & _objectPtrs)
|
||||||
{
|
{
|
||||||
typename SPATIALINDEXING::CellIterator first,last,l;
|
typename SPATIALINDEXING::CellIterator first,last,l;
|
||||||
|
|
Loading…
Reference in New Issue