diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-11 08:11:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-11 08:11:31 +0300 |
commit | 23a6b5d91e942d90badeaf9ab64cf8ea3b4219a1 (patch) | |
tree | e4ded62cdff80338483f1d8a8f063024c0607eb4 /source/blender/bmesh/intern/bmesh_query_uv.h | |
parent | fc5ff997709bdc5ec458647eb8db0a6eced670a2 (diff) |
BMesh: add UV calculate center call
Move uv_poly_center to BM_face_uv_calc_center_median as
it was only defined in uvedit_intern.h
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_query_uv.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_query_uv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_query_uv.h b/source/blender/bmesh/intern/bmesh_query_uv.h index 3465a831bea..0a86c0cbeae 100644 --- a/source/blender/bmesh/intern/bmesh_query_uv.h +++ b/source/blender/bmesh/intern/bmesh_query_uv.h @@ -31,6 +31,8 @@ void BM_face_uv_calc_center_median_weighted(const BMFace *f, const float aspect[2], const int cd_loop_uv_offset, float r_cent[2]) ATTR_NONNULL(); +void BM_face_uv_calc_center_median(const BMFace *f, const int cd_loop_uv_offset, float r_cent[2]) + ATTR_NONNULL(); float BM_face_uv_calc_cross(const BMFace *f, const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); |