ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/selection/DistanceFinder.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/selection/DistanceFinder.cpp (file contents):
Revision 1979 by tim, Mon Feb 7 19:13:18 2005 UTC vs.
Revision 2042 by tim, Thu Feb 17 15:18:36 2005 UTC

# Line 77 | Line 77 | BitSet DistanceFinder::find(const BitSet& bs, double d
77      BitSet bsResult(nStuntDoubles_);
78      assert(bsResult.size() == bs.size());
79      
80 <    for (int i = bs.nextOnBit(-1); i != -1; i = bs.nextOnBit(i)) {
80 >    for (int i = bs.firstOnBit(); i != -1; i = bs.nextOnBit(i)) {
81          center = stuntdoubles_[i];
82          centerPos = center->getPos();
83          for (int j = 0; j < stuntdoubles_.size(); ++j) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines