Ignore:
Timestamp:
Aug 7, 2009, 12:46:27 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
609e48
Parents:
0fc0b5
Message:

BUGFIX: PointCloud implementation in molecule stopped one before last, IsLast() -> IsEnd()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.cpp

    r0fc0b5 ref5521  
    124124void molecule::GoToNext()
    125125{
    126   if (InternalPointer->next != end)
     126  if (InternalPointer != end)
    127127    InternalPointer = InternalPointer->next;
    128128};
     
    162162 * \return true - current atom is last one, false - is not last one
    163163 */
    164 bool molecule::IsLast()
    165 {
    166   return (InternalPointer->next == end);
     164bool molecule::IsEnd()
     165{
     166  return (InternalPointer == end);
    167167};
    168168
Note: See TracChangeset for help on using the changeset viewer.