From 115f453deb5e41c4012819447d935abb41c676bd Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Sun, 2 Apr 2023 09:52:57 +0200 Subject: [PATCH] I'm not using C++ compile - from CMake setting --- include/openGJK/openGJK.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/openGJK/openGJK.h b/include/openGJK/openGJK.h index 8bc4757..a1923e6 100644 --- a/include/openGJK/openGJK.h +++ b/include/openGJK/openGJK.h @@ -23,7 +23,7 @@ /** * @file openGJK.h * @author Mattia Montanari - * @date 1 Jan 2022 + * @date 1 Jan 2023 * @brief Main interface of OpenGJK containing quick reference and API documentation. * * @see https://www.mattiamontanari.com/opengjk/ @@ -32,10 +32,6 @@ #ifndef OPENGJK_H__ #define OPENGJK_H__ -#ifdef __cplusplus -extern "C" { -#endif - /*! @brief Precision of floating-point numbers. * * Default is set to 64-bit (Double). Change this to quickly play around with 16- and 32-bit. */ @@ -65,8 +61,4 @@ typedef struct gkSimplex_ { * The simplex has to be initialised prior the call to this function. */ gkFloat compute_minimum_distance(const gkPolytope p_, const gkPolytope q_, gkSimplex* s_); -#ifdef __cplusplus -} -#endif - #endif // OPENGJK_H__