~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/bmesh/intern/bmesh_mods.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include <stdio.h>
31
31
 
32
 
int BM_vert_dissolve(BMesh *bm, BMVert *v);
33
 
 
34
 
int BM_disk_dissolve(BMesh *bm, BMVert *v);
35
 
 
36
 
BMFace *BM_faces_join_pair(BMesh *bm, BMFace *f1, BMFace *f2, BMEdge *e, const short do_del);
 
32
bool BM_vert_dissolve(BMesh *bm, BMVert *v);
 
33
 
 
34
bool BM_disk_dissolve(BMesh *bm, BMVert *v);
 
35
 
 
36
BMFace *BM_faces_join_pair(BMesh *bm, BMFace *f1, BMFace *f2, BMEdge *e, const bool do_del);
37
37
 
38
38
BMEdge *BM_verts_connect(BMesh *bm, BMVert *v1, BMVert *v2, BMFace **r_f);
39
39
 
40
40
BMFace *BM_face_split(BMesh *bm, BMFace *f,
41
41
                      BMVert *v1, BMVert *v2,
42
42
                      BMLoop **r_l,
43
 
                      BMEdge *example, const short nodouble);
 
43
                      BMEdge *example, const bool no_double);
44
44
 
45
45
BMFace *BM_face_split_n(BMesh *bm, BMFace *f,
46
46
                        BMVert *v1, BMVert *v2,
47
47
                        float cos[][3], int n,
48
48
                        BMLoop **r_l, BMEdge *example);
49
49
 
50
 
BMEdge* BM_vert_collapse_faces(BMesh *bm, BMEdge *ke, BMVert *kv, float fac,
51
 
                               const short join_faces, const short kill_degenerate_faces);
52
 
BMEdge* BM_vert_collapse_edge(BMesh *bm, BMEdge *ke, BMVert *kv,
53
 
                              const short kill_degenerate_faces);
 
50
BMEdge *BM_vert_collapse_faces(BMesh *bm, BMEdge *ke, BMVert *kv, float fac,
 
51
                               const bool join_faces, const bool kill_degenerate_faces);
 
52
BMEdge *BM_vert_collapse_edge(BMesh *bm, BMEdge *ke, BMVert *kv,
 
53
                              const bool kill_degenerate_faces);
54
54
 
55
55
 
56
56
BMVert *BM_edge_split(BMesh *bm, BMEdge *e, BMVert *v, BMEdge **r_e, float percent);
57
57
 
58
58
BMVert *BM_edge_split_n(BMesh *bm, BMEdge *e, int numcuts);
59
59
 
60
 
int     BM_face_validate(BMFace *face, FILE *err);
 
60
bool    BM_face_validate(BMFace *face, FILE *err);
61
61
 
62
 
void    BM_edge_calc_rotate(BMEdge *e, int ccw,
 
62
void    BM_edge_calc_rotate(BMEdge *e, const bool ccw,
63
63
                            BMLoop **r_l1, BMLoop **r_l2);
64
 
int     BM_edge_rotate_check(BMEdge *e);
65
 
int     BM_edge_rotate_check_degenerate(BMEdge *e,
 
64
bool    BM_edge_rotate_check(BMEdge *e);
 
65
bool    BM_edge_rotate_check_degenerate(BMEdge *e,
66
66
                                        BMLoop *l1, BMLoop *l2);
67
 
int     BM_edge_rotate_check_beauty(BMEdge *e,
 
67
bool    BM_edge_rotate_check_beauty(BMEdge *e,
68
68
                                    BMLoop *l1, BMLoop *l2);
69
 
BMEdge *BM_edge_rotate(BMesh *bm, BMEdge *e, const short ccw, const short check_flag);
 
69
BMEdge *BM_edge_rotate(BMesh *bm, BMEdge *e, const bool ccw, const short check_flag);
70
70
 
71
71
/* flags for BM_edge_rotate */
72
72
enum {