diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-11 03:25:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-11 03:25:44 +0400 |
commit | c68ae745b677c02899fda37a1f573ab688a99fac (patch) | |
tree | 07d8d9f0b5ed4e5ff61ceeacd9e2694d75f7501e /source/blender/bmesh/intern/bmesh_interp.h | |
parent | b9b23d697bf2682b027e9f4cc5a89a6716cf1edf (diff) |
interpolate verts as well as loops for inset.
- add vertex option to BM_face_interp_from_face, also expose via python.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_interp.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_interp.h b/source/blender/bmesh/intern/bmesh_interp.h index 1a1ca241224..2a3b5190ece 100644 --- a/source/blender/bmesh/intern/bmesh_interp.h +++ b/source/blender/bmesh/intern/bmesh_interp.h @@ -42,11 +42,11 @@ void BM_data_layer_copy(BMesh *bm, CustomData *data, int type, int src_n, int d float BM_elem_float_data_get(CustomData *cd, void *element, int type); void BM_elem_float_data_set(CustomData *cd, void *element, int type, const float val); -void BM_face_interp_from_face_ex(BMesh *bm, BMFace *target, BMFace *source, - void **blocks, float (*cos_2d)[2], float axis_mat[3][3]); -void BM_face_interp_from_face(BMesh *bm, BMFace *target, BMFace *source); +void BM_face_interp_from_face_ex(BMesh *bm, BMFace *target, BMFace *source, const bool do_vertex, + void **blocks, void **blocks_v, float (*cos_2d)[2], float axis_mat[3][3]); +void BM_face_interp_from_face(BMesh *bm, BMFace *target, BMFace *source, const bool do_vertex); void BM_loop_interp_from_face(BMesh *bm, BMLoop *target, BMFace *source, - const bool do_vertex, const bool do_multires); + const bool do_vertex, const bool do_multires); void BM_face_multires_bounds_smooth(BMesh *bm, BMFace *f); |