diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-11 10:56:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-11 10:56:51 +0400 |
commit | d2d1025e4a4f2faeff3332b6df6e646a217de592 (patch) | |
tree | cf578ec01e523557c374349fa7101268aee08dfa /source/blender/blenlib/BLI_convexhull2d.h | |
parent | 3579dfe23a4554d786f227a84a0dcac1a7e9e5c8 (diff) |
add mathutils.geometry.box_fit_2d() to wrap BLI_convexhull_aabb_fit_points_2d()
Diffstat (limited to 'source/blender/blenlib/BLI_convexhull2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_convexhull2d.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_convexhull2d.h b/source/blender/blenlib/BLI_convexhull2d.h index d6b5acbb95e..3f0787b37b1 100644 --- a/source/blender/blenlib/BLI_convexhull2d.h +++ b/source/blender/blenlib/BLI_convexhull2d.h @@ -25,9 +25,10 @@ * \ingroup bli */ -int BLI_convexhull_2d_presorted(const float (*points)[2], const int n, int r_points[]); +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_2d(const float (*points_hull)[2], unsigned int n); +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); #endif /* __BLI_CONVEXHULL2D__ */ |