Changeset a7bfc6 for src/base/index.hpp
- Timestamp:
- Apr 11, 2012, 8:20:00 AM (14 years ago)
- Children:
- 404906
- Parents:
- 65f11de
- File:
-
- 1 edited
-
src/base/index.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/base/index.hpp
r65f11de ra7bfc6 44 44 45 45 Index Abs() {return Index(abs(i[0]), abs(i[1]), abs(i[2]));} 46 int Length() const {return sqrt(i[0]*i[0]+i[1]*i[1]+i[2]*i[2]);}47 46 int Max() const {return std::max(std::max(i[0],i[1]),i[2]);} 48 47 int Min() const {return std::min(std::min(i[0],i[1]),i[2]);}
Note:
See TracChangeset
for help on using the changeset viewer.
