diff --git a/vcg/complex/trimesh/create/resampler.h b/vcg/complex/trimesh/create/resampler.h index c18d5304..622cddde 100644 --- a/vcg/complex/trimesh/create/resampler.h +++ b/vcg/complex/trimesh/create/resampler.h @@ -45,7 +45,7 @@ namespace tri { @param NEW_MESH_TYPE (Template Parameter) Specifies the type of output mesh. */ -template +template > class Resampler : public BasicGrid { typedef OLD_MESH_TYPE Old_Mesh; @@ -163,7 +163,7 @@ template // Note that PointDistanceBaseFunctor does not require the edge and plane precomptued. // while the PointDistanceFunctor requires them. - vcg::face::PointDistanceBaseFunctor PDistFunct; + DISTFUNCTOR PDistFunct; f = _g.GetClosest(PDistFunct,markerFunctor,testPt,max_dist,dist,closestPt); if (f==NULL) return false;