From 875b913314a450e0f7246a9043e4595013bbd6bb Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 28 Jul 2005 06:11:12 +0000 Subject: [PATCH] corrected error in GridP (did not compile) --- vcg/space/index/grid_util.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/grid_util.h b/vcg/space/index/grid_util.h index 374afd87..0296ac44 100644 --- a/vcg/space/index/grid_util.h +++ b/vcg/space/index/grid_util.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.2 2005/07/01 11:33:36 cignoni +Added a class BasicGrid with some utility function that are scattered among similar classes + Revision 1.1 2005/03/15 11:43:18 cignoni Removed BestDim function from the grid_static_ptr class and moved to a indipendent file (grid_util.h) for sake of generality. @@ -55,7 +58,9 @@ Removed BestDim function from the grid_static_ptr class and moved to a indipende // Dato un punto ritorna le coordinate della cella inline Point3i GridP( const Point3 & p ) const { - Point3i pi; return PToIP(p,pi); + Point3i pi; + PToIP(p,pi); + return pi; } /// Dato un punto 3d ritorna l'indice del box corrispondente