Changeset 3300 for code/trunk/src/util/Math.h
- Timestamp:
- Jul 17, 2009, 11:53:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/util/Math.h
r3280 r3300 122 122 inline int round(T x) 123 123 { 124 return (int)(x + 0.5);124 return static_cast<int>(x + 0.5); 125 125 } 126 126
Note: See TracChangeset
for help on using the changeset viewer.