diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-27 14:08:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-27 14:08:16 +0300 |
commit | a28e014313fbf4bc20af45fd8d45531f1eac2fbf (patch) | |
tree | 6ffd049f683489463696319c1bf1fc51fcd2bb4a /source/blender/bmesh/intern/bmesh_polygon.h | |
parent | bfaebeaee64399e4c6da65b8aaa63e1a3cc3d000 (diff) |
BMesh: Add API call BM_face_calc_point_in_face
Was local to knife code, but this is generally useful.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_polygon.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.h b/source/blender/bmesh/intern/bmesh_polygon.h index a1866bb010d..c84f4798ee4 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.h +++ b/source/blender/bmesh/intern/bmesh_polygon.h @@ -34,7 +34,10 @@ struct Heap; void BM_bmesh_calc_tessellation(BMesh *bm, BMLoop *(*looptris)[3], int *r_looptris_tot); -void BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, unsigned int (*r_index)[3]); +void BM_face_calc_tessellation( + const BMFace *f, const bool use_fixed_quad, + BMLoop **r_loops, unsigned int (*r_index)[3]); +void BM_face_calc_point_in_face(const BMFace *f, float r_co[3]); float BM_face_calc_normal(const BMFace *f, float r_no[3]) ATTR_NONNULL(); float BM_face_calc_normal_vcos( const BMesh *bm, const BMFace *f, float r_no[3], |