diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-10 02:25:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-10 02:29:50 +0300 |
commit | dc2cd2d0dcfdc2e10ccd1f06039390b6293e46ef (patch) | |
tree | ff83bb5a1175d3f8afc495825b34c557065035e2 /source/blender/blenlib | |
parent | f61a8a2abd07ee879f9bc860230e0dd3e6ee6a0c (diff) |
Cleanup: clang-format, spelling
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/delaunay_2d.c | 7 | ||||
-rw-r--r-- | source/blender/blenlib/intern/expr_pylike_eval.c | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/blenlib/intern/delaunay_2d.c b/source/blender/blenlib/intern/delaunay_2d.c index 4abe0dee594..af4fa9fa54e 100644 --- a/source/blender/blenlib/intern/delaunay_2d.c +++ b/source/blender/blenlib/intern/delaunay_2d.c @@ -2004,9 +2004,10 @@ static void remove_non_constraint_edges_leave_valid_bmesh(CDT_state *cdt) if (fleft != cdt->outer_face && fright != cdt->outer_face && (fleft->input_ids != NULL || fright->input_ids != NULL)) { /* Is there another symedge with same left and right faces? - * Or is there a vertex not part of e touching the same left and right faces? */ + * Or is there a vertex not part of e touching the same left and right faces? */ for (se2 = se->next; dissolve && se2 != se; se2 = se2->next) { - if (sym(se2)->face == fright || (se2->vert != se->next->vert && vert_touches_face(se2->vert, fright))) { + if (sym(se2)->face == fright || + (se2->vert != se->next->vert && vert_touches_face(se2->vert, fright))) { dissolve = false; } } @@ -2150,7 +2151,7 @@ static void prepare_cdt_for_output(CDT_state *cdt, const CDT_output_type output_ UNUSED_VARS(f); #endif - if (output_type == CDT_CONSTRAINTS) { + if (output_type == CDT_CONSTRAINTS) { remove_non_constraint_edges(cdt); } else if (output_type == CDT_CONSTRAINTS_VALID_BMESH) { diff --git a/source/blender/blenlib/intern/expr_pylike_eval.c b/source/blender/blenlib/intern/expr_pylike_eval.c index b3692926838..c7631f8991e 100644 --- a/source/blender/blenlib/intern/expr_pylike_eval.c +++ b/source/blender/blenlib/intern/expr_pylike_eval.c @@ -504,7 +504,7 @@ static bool parse_add_func(ExprParseState *state, eOpCode code, int args, void * if (jmp_gap >= 1 && prev_ops[-1].opcode == OPCODE_CONST) { UnaryOpFunc func = funcptr; - /* volatile because some compilers overly agressive optimize this call out. + /* volatile because some compilers overly aggressive optimize this call out. * see D6012 for details. */ volatile double result = func(prev_ops[-1].arg.dval); @@ -522,7 +522,7 @@ static bool parse_add_func(ExprParseState *state, eOpCode code, int args, void * prev_ops[-1].opcode == OPCODE_CONST) { BinaryOpFunc func = funcptr; - /* volatile because some compilers overly agressive optimize this call out. + /* volatile because some compilers overly aggressive optimize this call out. * see D6012 for details. */ volatile double result = func(prev_ops[-2].arg.dval, prev_ops[-1].arg.dval); |