From 416ef3b6b2d21a2eb7a24183ab67c8a540f79d57 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 25 Apr 2022 16:36:29 +1000 Subject: Cleanup: spelling in comments --- source/blender/bmesh/tools/bmesh_bevel.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'source/blender/bmesh/tools/bmesh_bevel.c') diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index 1c184b1ae6e..8f32f878c58 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -791,8 +791,8 @@ static bool contig_ldata_across_edge(BMesh *bm, BMEdge *e, BMFace *f1, BMFace *f } /** - * In array face_component of total totface elements, swap values c1 and c2 - * whereever they occur. + * In array face_component of total `totface` elements, swap values c1 and c2 + * wherever they occur. */ static void swap_face_components(int *face_component, int totface, int c1, int c2) { @@ -893,9 +893,8 @@ static void math_layer_info_init(BevelParams *bp, BMesh *bm) MEM_freeN(stack); MEM_freeN(in_stack); /* We can usually get more pleasing result if components 0 and 1 - * are the topmost and bottommost (in z-coordinate) componenets, - * so adjust component indices to make that so. - */ + * are the topmost and bottom-most (in z-coordinate) components, + * so adjust component indices to make that so. */ if (current_component <= 0) { return; /* Only one component, so no need to do this. */ } @@ -5541,9 +5540,9 @@ static void bevel_build_rings(BevelParams *bp, BMesh *bm, BevVert *bv, BoundVert BMVert *bmv4 = mesh_vert(vm, i, j + 1, k)->v; BMVert *bmvs[4] = {bmv1, bmv2, bmv3, bmv4}; BLI_assert(bmv1 && bmv2 && bmv3 && bmv4); - /* For each created quad, the UVs etc. will be interpolated + /* For each created quad, the UV's etc. will be interpolated * in potentially a different face for each corner and may need - * to snap to a particular edge before intorpolating. + * to snap to a particular edge before interpolating. * The fr and se arrays will be filled with the interpolation faces * and snapping edges for the for corners in the order given * in the bmvs array. -- cgit v1.2.3