From 9fc4f7d36f71e886c0d7316ce9bf779e7e0b69e1 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 7 Oct 2008 06:56:26 +0000 Subject: [PATCH] added a missing const to grid Create --- vcg/space/index/grid_static_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];