X-Git-Url: https://harrygodden.com/git/?p=convexer.git;a=blobdiff_plain;f=cxr%2Fcxr_math.h;fp=cxr%2Fcxr_math.h;h=dcaaab54e401703e9a9df017769f8e27e0e31943;hp=68f32ffe035ce6c79837ab4b764bf810b299874f;hb=dbd379f76bcb2139fdb5740232511fa789018e10;hpb=8e1b6889db7ce10f8d594539ef74dc4390e8e891 diff --git a/cxr/cxr_math.h b/cxr/cxr_math.h index 68f32ff..dcaaab5 100644 --- a/cxr/cxr_math.h +++ b/cxr/cxr_math.h @@ -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 */