From 1b117b6abad091aefa671c10b7a912e0f4cc6c92 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Tue, 29 Aug 2006 15:38:36 +0000 Subject: [PATCH] in GridDoRay function the RayIterator must be initialized with maximum distance --- vcg/space/index/grid_closest.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/grid_closest.h b/vcg/space/index/grid_closest.h index 6c937134..fe2b66da 100644 --- a/vcg/space/index/grid_closest.h +++ b/vcg/space/index/grid_closest.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.11 2006/08/23 15:17:46 marfr960 +*** empty log message *** + Revision 1.10 2006/05/17 12:48:52 pietroni corrected bug in GridGetInBox function @@ -222,7 +225,7 @@ namespace vcg{ typename SPATIALINDEXING::ScalarType & _t) { typedef vcg::RayIterator RayIteratorType; - RayIteratorType RayIte=RayIteratorType(_Si,_rayIntersector); + RayIteratorType RayIte=RayIteratorType(_Si,_rayIntersector,_maxDist); RayIte.SetMarker(_marker); RayIte.Init(_ray);