Restored TMARKER as a copied, not referenced, class

This commit is contained in:
Paolo Cignoni 2008-11-03 16:21:52 +00:00
parent b3620bb320
commit cb22994ef5
1 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ namespace vcg{
max_dist=_max_dist; max_dist=_max_dist;
}; };
void SetMarker(TMARKER & _tm) void SetMarker(TMARKER _tm)
{ {
tm=_tm; tm=_tm;
} }
@ -315,7 +315,7 @@ namespace vcg{
Spatial_Idexing &Si; //reference to spatial index algorithm Spatial_Idexing &Si; //reference to spatial index algorithm
bool end; //true if the scan is terminated bool end; //true if the scan is terminated
INTFUNCTOR &int_funct; INTFUNCTOR &int_funct;
TMARKER& tm; TMARKER tm;
std::vector<Entry_Type> Elems; //element loaded from curren cell std::vector<Entry_Type> Elems; //element loaded from curren cell
typedef typename std::vector<Entry_Type>::reverse_iterator ElemIterator; typedef typename std::vector<Entry_Type>::reverse_iterator ElemIterator;