diff options
Diffstat (limited to 'source/blender/blenlib/BLI_convexhull_2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_convexhull_2d.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_convexhull_2d.h b/source/blender/blenlib/BLI_convexhull_2d.h index 556dc79fc47..7417c1e3a98 100644 --- a/source/blender/blenlib/BLI_convexhull_2d.h +++ b/source/blender/blenlib/BLI_convexhull_2d.h @@ -21,10 +21,18 @@ * \ingroup bli */ +#ifdef __cplusplus +extern "C" { +#endif + int BLI_convexhull_2d_sorted(const float (*points)[2], const int n, int r_points[]); int BLI_convexhull_2d(const float (*points)[2], const int n, int r_points[]); float BLI_convexhull_aabb_fit_hull_2d(const float (*points_hull)[2], unsigned int n); float BLI_convexhull_aabb_fit_points_2d(const float (*points)[2], unsigned int n); +#ifdef __cplusplus +} +#endif + #endif /* __BLI_CONVEXHULL_2D_H__ */ |