Daniele Bartolini 10 anni fa
parent
commit
0dcf208cac
1 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  1. 0 8
      src/core/math/math_utils.h

+ 0 - 8
src/core/math/math_utils.h

@@ -49,14 +49,6 @@ inline T clamp(const T& min, const T& max, const T& val)
 	return val > max ? max : val < min ? min : val;
 	return val > max ? max : val < min ? min : val;
 }
 }
 
 
-template <typename T>
-inline void swap(T& a, T& b)
-{
-	T tmp = a;
-	a = b;
-	b = tmp;
-}
-
 inline float to_rad(float deg)
 inline float to_rad(float deg)
 {
 {
 	return deg * float(PI / 180.0);
 	return deg * float(PI / 180.0);