Changeset 1609 for code/branches/hud/src/util/Math.cc
- Timestamp:
- Jun 17, 2008, 11:38:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/util/Math.cc
r1566 r1609 30 30 31 31 #include "Math.h" 32 #include "Convert.h" 32 33 33 34 /** … … 123 124 return (targetposition + targetvelocity * time); 124 125 } 126 127 unsigned long getUniqueNumber() 128 { 129 static unsigned long aNumber = 135; 130 return aNumber++; 131 } 132 133 std::string getUniqueNumberStr() 134 { 135 return convertToString(getUniqueNumber()); 136 }
Note: See TracChangeset
for help on using the changeset viewer.