diff options
-rw-r--r-- | redist/linmath.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/redist/linmath.h b/redist/linmath.h index 1a73a06..71fd9b0 100644 --- a/redist/linmath.h +++ b/redist/linmath.h @@ -3,6 +3,10 @@ #ifndef _LINMATH_H #define _LINMATH_H +#ifdef __cplusplus +extern "C" { +#endif + // Yes, I know it's kind of arbitrary. #define DEFAULT_EPSILON 0.001 @@ -140,4 +144,8 @@ Matrix3x3 inverseM33(const Matrix3x3 mat); void matrix44copy(FLT *mout, const FLT *minm); void matrix44transpose(FLT *mout, const FLT *minm); +#ifdef __cplusplus +} +#endif + #endif |