in GridDoRay function the RayIterator must be initialized with maximum distance
This commit is contained in:
parent
5d7753b3cf
commit
1b117b6aba
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.10 2006/05/17 12:48:52 pietroni
|
||||||
corrected bug in GridGetInBox function
|
corrected bug in GridGetInBox function
|
||||||
|
|
||||||
|
@ -222,7 +225,7 @@ namespace vcg{
|
||||||
typename SPATIALINDEXING::ScalarType & _t)
|
typename SPATIALINDEXING::ScalarType & _t)
|
||||||
{
|
{
|
||||||
typedef vcg::RayIterator<SPATIALINDEXING,OBJRAYISECTFUNCTOR,OBJMARKER> RayIteratorType;
|
typedef vcg::RayIterator<SPATIALINDEXING,OBJRAYISECTFUNCTOR,OBJMARKER> RayIteratorType;
|
||||||
RayIteratorType RayIte=RayIteratorType(_Si,_rayIntersector);
|
RayIteratorType RayIte=RayIteratorType(_Si,_rayIntersector,_maxDist);
|
||||||
RayIte.SetMarker(_marker);
|
RayIte.SetMarker(_marker);
|
||||||
RayIte.Init(_ray);
|
RayIte.Init(_ray);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue