diff --git a/vcg/complex/trimesh/closest.h b/vcg/complex/trimesh/closest.h index f1056f73..53eee3ac 100644 --- a/vcg/complex/trimesh/closest.h +++ b/vcg/complex/trimesh/closest.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2005/09/15 11:15:00 pietroni +minor changes + Revision 1.7 2005/09/14 12:56:47 pietroni used closest function from grid @@ -70,7 +73,7 @@ namespace vcg { template class Tmark { - MESH_TYPE m; + MESH_TYPE &m; public: Tmark(MESH_TYPE &_m):m(_m){} void UnMarkAll(){m.UnMarkAll();} diff --git a/vcg/space/index/grid_static_ptr.h b/vcg/space/index/grid_static_ptr.h index a3f736dd..51cc333a 100644 --- a/vcg/space/index/grid_static_ptr.h +++ b/vcg/space/index/grid_static_ptr.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.22 2005/09/15 11:14:39 pietroni +minor changes + Revision 1.21 2005/09/14 13:27:38 spinelli minor changes @@ -457,7 +460,7 @@ namespace vcg { }; template - ObjPtr GetClosest( const CoordType & p, ScalarType & min_dist, CoordType & res,TMARKER tm) { + ObjPtr GetClosest( const CoordType & p, ScalarType & min_dist, CoordType & res,TMARKER &tm) { const ScalarType max_dist = min_dist; return (this->GetClosest(p, max_dist, BackCompDist(), min_dist, res,tm));