for(ii... -> for(int ii

This commit is contained in:
Federico Ponchio 2006-02-28 13:25:48 +00:00
parent a16d494cd5
commit cc73ff49c9
1 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,10 @@ This file contains two function providing the standard way to do picking using o
History
$Log: not supported by cvs2svn $
Revision 1.2 2006/02/13 13:06:34 cignoni
Removed glut. Added ifdef guards and namespace.
Added bool return value to the pick function
Revision 1.1 2005/12/03 09:36:28 ganovelli
*** empty log message ***
@ -96,7 +100,7 @@ int Pick( const int & x, const int &y,
std::sort(H.begin(),H.end());
result.resize(H.size());
for(ii=0;ii<hits;ii++){
for(int ii=0;ii<hits;ii++){
typename TO_PICK_CONT_TYPE::iterator ei=m.begin();
advance(ei ,H[ii].second);
result[ii]=&*ei;