diff --git a/CgeMath.h b/CgeMath.h index 622fa65..c213508 100644 --- a/CgeMath.h +++ b/CgeMath.h @@ -1,6 +1,10 @@ #ifndef CGE_MATH_H #define CGE_MATH_H +#ifdef __cplusplus +extern "C" { +#endif + #include void CgeBox2fUnion(const float aMin[2], const float aMax[2], @@ -262,4 +266,8 @@ void CgeVec4iMax(const int a[4], const int b[4], int out[4]); void CgeVec4iClamp(const int in[4], int minVal, int maxVal, int out[4]); void CgeVec4iAbs(const int in[4], int out[4]); +#ifdef __cplusplus +} +#endif + #endif /* CGE_MATH_H */