Add template parameter to PointDistanceFunctor
This commit is contained in:
parent
6a649ee257
commit
f7da79d507
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue