diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-17 03:37:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-17 03:37:23 +0400 |
commit | 9dd981a44029b612f3925405d964c739dd537b5f (patch) | |
tree | d0f01cc43e505a3d04b515b82dd0e21c3f6c6c6f /source/blender/bmesh | |
parent | 18a7efac14a2743a97c0f64412b5e6657e03113b (diff) |
style cleanup: block comments
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_opdefines.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/operators/bmo_hull.c | 15 |
2 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index b5e6d7e1f68..4186f5d47eb 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -1159,7 +1159,7 @@ static BMOpDefine bmo_vertex_slide_def = { * 'unused_geom' slot will contain all interior geometry that is * completely unused. Lastly, 'holes_geom' contains edges and faces * that were in the input and are part of the hull. -*/ + */ static BMOpDefine bmo_convex_hull_def = { "convex_hull", {{BMO_OP_SLOT_ELEMENT_BUF, "input"}, diff --git a/source/blender/bmesh/operators/bmo_hull.c b/source/blender/bmesh/operators/bmo_hull.c index 2a48a531566..160db7cba75 100644 --- a/source/blender/bmesh/operators/bmo_hull.c +++ b/source/blender/bmesh/operators/bmo_hull.c @@ -509,7 +509,7 @@ static void hull_remove_overlapping(BMesh *bm, GHash *hull_triangles, BMEdge *e; /* Check that all the face's edges are on the hull, - otherwise can't reuse it */ + * otherwise can't reuse it */ f_on_hull = TRUE; BM_ITER_ELEM (e, &bm_iter2, f, BM_EDGES_OF_FACE) { if (!hull_final_edges_lookup(final_edges, e->v1, e->v2)) { @@ -519,9 +519,10 @@ static void hull_remove_overlapping(BMesh *bm, GHash *hull_triangles, } /* Note: can't change ghash while iterating, so mark - with 'skip' flag rather than deleting triangles */ + * with 'skip' flag rather than deleting triangles */ if (BM_vert_in_face(f, t->v[1]) && - BM_vert_in_face(f, t->v[2]) && f_on_hull) { + BM_vert_in_face(f, t->v[2]) && f_on_hull) + { t->skip = TRUE; BMO_elem_flag_disable(bm, f, HULL_FLAG_INTERIOR_ELE); BMO_elem_flag_enable(bm, f, HULL_FLAG_HOLE); @@ -544,7 +545,7 @@ static void hull_mark_interior_elements(BMesh *bm, BMOperator *op, } /* Mark all input faces as interior, some may be unmarked in - hull_remove_overlapping() */ + * hull_remove_overlapping() */ BMO_ITER (f, &oiter, bm, op, "input", BM_FACE) { BMO_elem_flag_enable(bm, f, HULL_FLAG_INTERIOR_ELE); } @@ -559,9 +560,9 @@ static void hull_tag_unused(BMesh *bm, BMOperator *op) BMFace *f; /* Mark vertices, edges, and faces that are already marked - interior (i.e. were already part of the input, but not part of - the hull), but that aren't also used by elements outside the - input set */ + * interior (i.e. were already part of the input, but not part of + * the hull), but that aren't also used by elements outside the + * input set */ BMO_ITER (v, &oiter, bm, op, "input", BM_VERT) { if (BMO_elem_flag_test(bm, v, HULL_FLAG_INTERIOR_ELE)) { int del = TRUE; |