fixed bugs
This commit is contained in:
parent
417bf69fc3
commit
e6739a6a71
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.7 2005/09/14 12:56:47 pietroni
|
||||||
used closest function from grid
|
used closest function from grid
|
||||||
|
|
||||||
|
@ -70,7 +73,7 @@ namespace vcg {
|
||||||
template <class MESH_TYPE,class OBJ_TYPE>
|
template <class MESH_TYPE,class OBJ_TYPE>
|
||||||
class Tmark
|
class Tmark
|
||||||
{
|
{
|
||||||
MESH_TYPE m;
|
MESH_TYPE &m;
|
||||||
public:
|
public:
|
||||||
Tmark(MESH_TYPE &_m):m(_m){}
|
Tmark(MESH_TYPE &_m):m(_m){}
|
||||||
void UnMarkAll(){m.UnMarkAll();}
|
void UnMarkAll(){m.UnMarkAll();}
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.21 2005/09/14 13:27:38 spinelli
|
||||||
minor changes
|
minor changes
|
||||||
|
|
||||||
|
@ -457,7 +460,7 @@ namespace vcg {
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class TMARKER>
|
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;
|
const ScalarType max_dist = min_dist;
|
||||||
return (this->GetClosest<BackCompDist,TMARKER>(p, max_dist, BackCompDist(), min_dist, res,tm));
|
return (this->GetClosest<BackCompDist,TMARKER>(p, max_dist, BackCompDist(), min_dist, res,tm));
|
||||||
|
|
Loading…
Reference in New Issue