fixed bugs

This commit is contained in:
Paolo Cignoni 2005-09-15 13:16:42 +00:00
parent 417bf69fc3
commit e6739a6a71
2 changed files with 8 additions and 2 deletions

View File

@ -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 MESH_TYPE,class OBJ_TYPE>
class Tmark
{
MESH_TYPE m;
MESH_TYPE &m;
public:
Tmark(MESH_TYPE &_m):m(_m){}
void UnMarkAll(){m.UnMarkAll();}

View File

@ -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 <class TMARKER>
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<BackCompDist,TMARKER>(p, max_dist, BackCompDist(), min_dist, res,tm));