(svn r11490) -Codechange: Split the math functions to their own header

-Codechange: Replace the rest of the math macros with functions
This commit is contained in:
skidd13
2007-11-22 18:01:51 +00:00
parent 1d56af1d33
commit 737aec4db6
7 changed files with 243 additions and 206 deletions

View File

@@ -39,9 +39,6 @@ template<typename T> void Swap(T& a, T& b)
}
/** returns the (absolute) difference between two (scalar) variables */
template <typename T> static inline T delta(T a, T b) { return a < b ? b - a : a - b; }
/** Some enums need to have allowed incrementing (i.e. StationClassID) */
#define DECLARE_POSTFIX_INCREMENT(type) \
FORCEINLINE type operator ++(type& e, int) \