Add template parameter to PointDistanceFunctor

This commit is contained in:
ganovelli 2008-09-24 08:56:06 +00:00
parent 6a649ee257
commit f7da79d507
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ template <class OLD_MESH_TYPE,class NEW_MESH_TYPE, class FLT>
// Note that PointDistanceBaseFunctor does not require the edge and plane precomptued.
// while the PointDistanceFunctor requires them.
vcg::face::PointDistanceBaseFunctor PDistFunct;
vcg::face::PointDistanceBaseFunctor<typename Old_Mesh::ScalarType > PDistFunct;
f = _g.GetClosest(PDistFunct,markerFunctor,testPt,max_dist,dist,closestPt);
if (f==NULL) return false;