diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-07-01 16:15:17 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-07-01 16:15:17 +0300 |
commit | 590ce6817d76b01d1eff0a54bf2f5240596ccefa (patch) | |
tree | 104aedae2a24822ddf352a7d765b8068eecb7cda /source/blender/bmesh/tools/bmesh_boolean.h | |
parent | a62bca844ce10dec2e4835db804f3c84c3ff5d58 (diff) |
Change bmesh_boolean.c into a C++ file and start using PolyMesh interface.
Also, use BLI_math_mpq.hh everywhere instead of gmpxx.h.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_boolean.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_boolean.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_boolean.h b/source/blender/bmesh/tools/bmesh_boolean.h index e246ac365b6..cb4ce2cd12d 100644 --- a/source/blender/bmesh/tools/bmesh_boolean.h +++ b/source/blender/bmesh/tools/bmesh_boolean.h @@ -21,6 +21,10 @@ * \ingroup bmesh */ +#ifdef __cplusplus +extern "C" { +#endif + bool BM_mesh_boolean(BMesh *bm, struct BMLoop *(*looptris)[3], const int looptris_tot, @@ -37,4 +41,8 @@ bool BM_mesh_boolean_knife(BMesh *bm, const bool use_self, const bool use_separate_all); +#ifdef __cplusplus +} +#endif + #endif /* __BMESH_BOOLEAN_H__ */ |