I'm not using C++ compile - from CMake setting

fixes-turtlebasket
Mattia Montanari 2023-04-02 09:52:57 +02:00
parent e3f47bd235
commit 115f453deb
1 changed files with 1 additions and 9 deletions

View File

@ -23,7 +23,7 @@
/** /**
* @file openGJK.h * @file openGJK.h
* @author Mattia Montanari * @author Mattia Montanari
* @date 1 Jan 2022 * @date 1 Jan 2023
* @brief Main interface of OpenGJK containing quick reference and API documentation. * @brief Main interface of OpenGJK containing quick reference and API documentation.
* *
* @see https://www.mattiamontanari.com/opengjk/ * @see https://www.mattiamontanari.com/opengjk/
@ -32,10 +32,6 @@
#ifndef OPENGJK_H__ #ifndef OPENGJK_H__
#define OPENGJK_H__ #define OPENGJK_H__
#ifdef __cplusplus
extern "C" {
#endif
/*! @brief Precision of floating-point numbers. /*! @brief Precision of floating-point numbers.
* *
* Default is set to 64-bit (Double). Change this to quickly play around with 16- and 32-bit. */ * 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. */ * The simplex has to be initialised prior the call to this function. */
gkFloat compute_minimum_distance(const gkPolytope p_, const gkPolytope q_, gkSimplex* s_); gkFloat compute_minimum_distance(const gkPolytope p_, const gkPolytope q_, gkSimplex* s_);
#ifdef __cplusplus
}
#endif
#endif // OPENGJK_H__ #endif // OPENGJK_H__