added a const to a parameter passed by reference.

This commit is contained in:
Paolo Cignoni 2014-02-13 16:29:21 +00:00
parent 6efdd91ecc
commit e829dff8af
1 changed files with 308 additions and 308 deletions

View File

@ -432,7 +432,7 @@ namespace vcg{
/// Insert a mesh in the grid.
template <class OBJITER>
void SetByPointers(const OBJITER & _oBegin, const OBJITER & _oEnd,
Point2i & cellsize=Point2i(-1,-1), bool subdivideBox=false,const Box2x &_bbox=Box2x() )
const Point2i & cellsize=Point2i(-1,-1), bool subdivideBox=false,const Box2x &_bbox=Box2x() )
{
OBJITER i;
Box2x b;