diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-26 05:45:20 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-26 05:47:21 +0300 |
commit | a3e1a9e2aace26a71c2698cd96ce4086db25e94d (patch) | |
tree | cd93c6b35be472aed10b425a04aa7376aeaa8c06 /source/blender/editors | |
parent | ef51825c06242c12892337f87c82299c2996fa50 (diff) |
Cleanup: spelling in comments, format
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 8 | ||||
-rw-r--r-- | source/blender/editors/object/object_vgroup.cc | 13 |
2 files changed, 11 insertions, 10 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index c8468950c34..0c842084de6 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -1545,10 +1545,10 @@ uiButViewItem *ui_block_view_find_matching_view_item_but_in_old_block( struct uiListType *UI_UL_cache_file_layers(void); struct ID *ui_template_id_liboverride_hierarchy_make(struct bContext *C, - struct Main *bmain, - struct ID *owner_id, - struct ID *id, - const char **r_undo_push_label); + struct Main *bmain, + struct ID *owner_id, + struct ID *id, + const char **r_undo_push_label); #ifdef __cplusplus } diff --git a/source/blender/editors/object/object_vgroup.cc b/source/blender/editors/object/object_vgroup.cc index f4f5b31e86a..0e0f5bd94cc 100644 --- a/source/blender/editors/object/object_vgroup.cc +++ b/source/blender/editors/object/object_vgroup.cc @@ -1319,14 +1319,15 @@ static void getVerticalAndHorizontalChange(const float norm[3], changes[index][1] = len_v3v3(projA, projB); } -/* by changing nonzero weights, try to move a vertex in me->mverts with index 'index' to - * distToBe distance away from the provided plane strength can change distToBe so that it moves - * towards distToBe by that percentage cp changes how much the weights are adjusted +/** + * By changing nonzero weights, try to move a vertex in `me->mverts` with index 'index' to + * `distToBe` distance away from the provided plane strength can change `distToBe` so that it moves + * towards `distToBe` by that percentage `cp` changes how much the weights are adjusted * to check the distance * - * index is the index of the vertex being moved - * norm and d are the plane's properties for the equation: ax + by + cz + d = 0 - * coord is a point on the plane + * `index` is the index of the vertex being moved. + * `norm` and `d` are the plane's properties for the equation: `ax + by + cz + d = 0`. + * `coord` is a point on the plane. */ static void moveCloserToDistanceFromPlane(Depsgraph *depsgraph, Scene *UNUSED(scene), |