From 2739634d382020e2c9338c7c25332c5ff5d8a1db Mon Sep 17 00:00:00 2001 From: ganovelli Date: Wed, 12 May 2004 18:50:58 +0000 Subject: [PATCH] changed calls to Dist --- vcg/space/index/grid_static_ptr.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/space/index/grid_static_ptr.h b/vcg/space/index/grid_static_ptr.h index e7b6e8a4..1a1da6f0 100644 --- a/vcg/space/index/grid_static_ptr.h +++ b/vcg/space/index/grid_static_ptr.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.2 2004/05/11 14:33:46 ganovelli +changed to grid_static_obj to grid_static_ptr + Revision 1.1 2004/05/10 14:44:13 ganovelli created @@ -470,9 +473,9 @@ public: else if(size[2]>eps) dim[2] = int(ncell); } - dim[0] = math::Max(dim[0],0); + dim[0] = math::Max(dim[0],1); dim[1] = math::Max(dim[1],1); - dim[2] = math::Max(dim[2],2); + dim[2] = math::Max(dim[2],1); }