Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-03 04:06:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-03 04:13:29 +0300
commit74f45ed9c55aaecf6fd90a8076f486ad4302515d (patch)
tree09d0a8216139d44c80801fc4e1ae9fa655097294 /source/blender/blenlib/intern
parentc5c94e3eae74a7023c84cf0906cfa814c39f84dd (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/fileops.c2
-rw-r--r--source/blender/blenlib/intern/kdtree_impl.h2
-rw-r--r--source/blender/blenlib/intern/list_sort_impl.h2
-rw-r--r--source/blender/blenlib/intern/scanfill.c12
4 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index 88fb67c5502..2ef4d1093a8 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -761,7 +761,7 @@ static int recursive_operation(const char *startfrom,
# endif
if (is_dir) {
- /* recursively dig into a subfolder */
+ /* Recurse into sub-directories. */
ret = recursive_operation(
from_path, to_path, callback_dir_pre, callback_file, callback_dir_post);
}
diff --git a/source/blender/blenlib/intern/kdtree_impl.h b/source/blender/blenlib/intern/kdtree_impl.h
index 0c9de0aa128..0b47be1f7ea 100644
--- a/source/blender/blenlib/intern/kdtree_impl.h
+++ b/source/blender/blenlib/intern/kdtree_impl.h
@@ -190,7 +190,7 @@ static uint kdtree_balance(KDTreeNode *nodes, uint nodes_len, uint axis, const u
}
}
- /* set node and sort subnodes */
+ /* Set node and sort sub-nodes. */
node = &nodes[median];
node->d = axis;
axis = (axis + 1) % KD_DIMS;
diff --git a/source/blender/blenlib/intern/list_sort_impl.h b/source/blender/blenlib/intern/list_sort_impl.h
index 680044f9ccb..71f7f0e29a8 100644
--- a/source/blender/blenlib/intern/list_sort_impl.h
+++ b/source/blender/blenlib/intern/list_sort_impl.h
@@ -202,7 +202,7 @@ BLI_INLINE list_node *sweep_up(struct SortInfo *si, list_node *list, unsigned in
}
/**
- * The 'ranks' array essentially captures the recursion stack of a mergesort.
+ * The 'ranks' array essentially captures the recursion stack of a merge-sort.
* The merge tree is built in a bottom-up manner. The control loop for
* updating the 'ranks' array is analogous to incrementing a binary integer,
* and the `O(n)` time for counting `upto` n translates to `O(n)` merges when
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c
index f0cf19bf508..8845167f536 100644
--- a/source/blender/blenlib/intern/scanfill.c
+++ b/source/blender/blenlib/intern/scanfill.c
@@ -1040,13 +1040,13 @@ unsigned int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const int flag, const
}
/* CURRENT STATUS:
- * - eve->f :1 = available in edges
- * - eve->poly_nr :polynumber
- * - eve->edge_tot :amount of edges connected to vertex
- * - eve->tmp.v :store! original vertex number
+ * - `eve->f`: 1 = available in edges.
+ * - `eve->poly_nr`: poly-number.
+ * - `eve->edge_tot`: amount of edges connected to vertex.
+ * - `eve->tmp.v`: store! original vertex number.
*
- * - eed->f :1 = boundary edge (optionally set by caller)
- * - eed->poly_nr :poly number
+ * - `eed->f`: 1 = boundary edge (optionally set by caller).
+ * - `eed->poly_nr`: poly number.
*/
/* STEP 3: MAKE POLYFILL STRUCT */