From 41bc27e33e997c00d055cafa651f3fe561cdc134 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Wed, 24 Sep 2008 09:28:53 +0000 Subject: [PATCH] Changed the type of query type. Made it dependend on distance functor --- vcg/space/index/grid_static_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/space/index/grid_static_ptr.h b/vcg/space/index/grid_static_ptr.h index 33d44339..1b1518a7 100644 --- a/vcg/space/index/grid_static_ptr.h +++ b/vcg/space/index/grid_static_ptr.h @@ -520,7 +520,7 @@ namespace vcg { template ObjPtr GetClosest(OBJPOINTDISTFUNCTOR & _getPointDistance, OBJMARKER & _marker, - const CoordType & _p, const ScalarType & _maxDist,ScalarType & _minDist, CoordType & _closestPt) + const typename OBJPOINTDISTFUNCTOR::QueryType & _p, const ScalarType & _maxDist,ScalarType & _minDist, CoordType & _closestPt) { return (vcg::GridClosest(*this,_getPointDistance,_marker, _p,_maxDist,_minDist,_closestPt)); }