Changed the type of query type. Made it dependend on distance functor

This commit is contained in:
ganovelli 2008-09-24 09:28:53 +00:00
parent 68d900ec7e
commit 41bc27e33e
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ namespace vcg {
template <class OBJPOINTDISTFUNCTOR, class OBJMARKER>
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<GridPtrType,OBJPOINTDISTFUNCTOR,OBJMARKER>(*this,_getPointDistance,_marker, _p,_maxDist,_minDist,_closestPt));
}