Changeset 894a5f for src/base/index.cpp
- Timestamp:
- Feb 2, 2012, 1:58:12 PM (14 years ago)
- Children:
- 32ff22
- Parents:
- 01be70
- File:
-
- 1 edited
-
src/base/index.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/base/index.cpp
r01be70 r894a5f 69 69 } 70 70 71 bool operator<(const Index& lhs, const Index& rhs)72 {73 if (lhs.X() < rhs.X())74 return true;75 else if (lhs.X() > rhs.X())76 return false;77 78 if (lhs.Y() < rhs.Y())79 return true;80 else if (lhs.Y() > rhs.Y())81 return false;82 83 if (lhs.Z() < rhs.Z())84 return true;85 else86 return false;87 }88 89 71 const Index Max(const Index& index1, const Index& index2) 90 72 {
Note:
See TracChangeset
for help on using the changeset viewer.
