Changeset 1625 for code/trunk/src/util/Math.cc
- Timestamp:
- Jun 26, 2008, 2:13:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/util/Math.cc
r1608 r1625 30 30 31 31 #include "Math.h" 32 #include "Convert.h" 32 33 33 34 /** … … 136 137 return (targetposition + targetvelocity * time); 137 138 } 139 140 unsigned long getUniqueNumber() 141 { 142 static unsigned long aNumber = 135; 143 return aNumber++; 144 } 145 146 std::string getUniqueNumberStr() 147 { 148 return convertToString(getUniqueNumber()); 149 }
Note: See TracChangeset
for help on using the changeset viewer.