model view prototype
[convexer.git] / cxr / cxr_math.h
index 68f32ffe035ce6c79837ab4b764bf810b299874f..dcaaab54e401703e9a9df017769f8e27e0e31943 100644 (file)
@@ -7,6 +7,11 @@
  *   Other useful geometric functions
  */
 
+#ifndef CXR_MATH_H
+#define CXR_MATH_H
+
+#include "cxr_types.h"
+
 #define CXR_INLINE static inline
 #define CXR_PIf 3.14159265358979323846264338327950288f
 
@@ -617,3 +622,5 @@ CXR_INLINE double segment_segment_dist( v3f a0, v3f a1, v3f b0, v3f b1,
 
    return v3_dist( a, b );
 }
+
+#endif /* CXR_MATH_H */