minimize some #includes and replace with forward decls
[supertux.git] / src / collision_hit.hpp
index ba29e9f..72531f1 100644 (file)
@@ -19,8 +19,8 @@
 #ifndef SUPERTUX_COLLISION_HIT_H
 #define SUPERTUX_COLLISION_HIT_H
 
-#include <float.h>
-#include <math.h>
+#include <cfloat>
+#include <cmath>
 #include "math/vector.hpp"
 
 /**
@@ -32,7 +32,7 @@ enum HitResponse
   /// don't move the object
   ABORT_MOVE = 0,
   /// move object out of collision and check for collisions again
-  /// if this happens to often then the move will just be aborted    
+  /// if this happens to often then the move will just be aborted
   CONTINUE,
   /// do the move ignoring the collision
   FORCE_MOVE,
@@ -67,4 +67,3 @@ public:
 };
 
 #endif
-