Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-17 15:49:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-17 15:57:16 +0300
commit6694d7ac5f651ea03ea61a465330652cc26ecb38 (patch)
treeb42794d57b703d38fd2668a63b50957d1cdb025d /source/blender/bmesh/intern/bmesh_query_uv.h
parent7785a9c9d2a597a163ef085d94602a1b3aa94d70 (diff)
BMesh: add UV face transform and minmax utility functions
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_query_uv.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_query_uv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_query_uv.h b/source/blender/bmesh/intern/bmesh_query_uv.h
index 0a86c0cbeae..9aad8e17ca0 100644
--- a/source/blender/bmesh/intern/bmesh_query_uv.h
+++ b/source/blender/bmesh/intern/bmesh_query_uv.h
@@ -37,6 +37,9 @@ void BM_face_uv_calc_center_median(const BMFace *f, const int cd_loop_uv_offset,
float BM_face_uv_calc_cross(const BMFace *f, const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT
ATTR_NONNULL();
+void BM_face_uv_minmax(const BMFace *f, float min[2], float max[2], const int cd_loop_uv_offset);
+void BM_face_uv_transform(BMFace *f, const float matix[2][2], const int cd_loop_uv_offset);
+
bool BM_loop_uv_share_edge_check_with_limit(BMLoop *l_a,
BMLoop *l_b,
const float limit[2],