diff --git a/vcg/space/index/grid_static_obj.h b/vcg/space/index/grid_static_obj.h index a8847119..3cfa0991 100644 --- a/vcg/space/index/grid_static_obj.h +++ b/vcg/space/index/grid_static_obj.h @@ -96,7 +96,7 @@ class GridStaticObj : public BasicGrid // Dato un punto ritorna l'indice della cella inline int GridInd( const Point3 & p ) const { return GridInd(GridP(p)); } - void Create( Point3i &_siz, const ObjType & init ) + void Create( const Point3i &_siz, const ObjType & init ) { this->siz=_siz; this->voxel[0] = this->dim[0]/this->siz[0];