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>2021-01-20 08:56:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-20 08:56:59 +0300
commit8bd5d58860fa43c9eaad2c25a0f03cb4d6f20226 (patch)
tree4c41e331f3127f749427206999a6e80a3feadc1a /source/blender/bmesh/intern/bmesh_query_uv.h
parentb2037464e420e4171ff2238f35284e156dbcf110 (diff)
BMesh: add function to check if a point is inside a faces UV's
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_query_uv.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_query_uv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_query_uv.h b/source/blender/bmesh/intern/bmesh_query_uv.h
index fe62c5a8809..850b27d3894 100644
--- a/source/blender/bmesh/intern/bmesh_query_uv.h
+++ b/source/blender/bmesh/intern/bmesh_query_uv.h
@@ -58,3 +58,8 @@ bool BM_loop_uv_share_vert_check(BMLoop *l_a,
BMLoop *l_b,
const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT
ATTR_NONNULL();
+
+bool BM_face_uv_point_inside_test(const BMFace *f,
+ const float co[2],
+ const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT
+ ATTR_NONNULL();