diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-20 01:19:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-20 01:19:21 +0300 |
commit | 93197c4660daaaa40527a701570f55ad76a99eb3 (patch) | |
tree | d1e3a76429c97249219afa12b6714df0987a2bd5 /source/blender | |
parent | 967fec68837d3496b994094e5f24775ebcf6f6ce (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/BLI_kdtree.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_kdtree_impl.h | 2 | ||||
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 2 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_intersect.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_convert.c | 2 | ||||
-rw-r--r-- | source/blender/gpu/GPU_index_buffer.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenlib/BLI_kdtree.h b/source/blender/blenlib/BLI_kdtree.h index 76f39dfbacb..bb61ba17d99 100644 --- a/source/blender/blenlib/BLI_kdtree.h +++ b/source/blender/blenlib/BLI_kdtree.h @@ -22,7 +22,7 @@ extern "C" { /** \file * \ingroup bli - * \brief A kd-tree for nearest neighbor search. + * \brief A KD-tree for nearest neighbor search. */ /* 1D version */ diff --git a/source/blender/blenlib/BLI_kdtree_impl.h b/source/blender/blenlib/BLI_kdtree_impl.h index 4b2a37830ae..26a22fc2ac4 100644 --- a/source/blender/blenlib/BLI_kdtree_impl.h +++ b/source/blender/blenlib/BLI_kdtree_impl.h @@ -16,7 +16,7 @@ /** \file * \ingroup bli - * \brief A kd-tree for nearest neighbor search. + * \brief A KD-tree for nearest neighbor search. */ #include "BLI_compiler_attrs.h" diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 541483d4eed..d2631840f74 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -220,7 +220,7 @@ typedef enum eBLOLibLinkFlags { BLO_LIBLINK_NEEDS_ID_TAG_DOIT = 1 << 18, /** Set fake user on appended IDs. */ BLO_LIBLINK_APPEND_SET_FAKEUSER = 1 << 19, - /** Append (make local) also indirect dependencies of appended IDs comming from other libraries. + /** Append (make local) also indirect dependencies of appended IDs coming from other libraries. * NOTE: All IDs (including indirectly linked ones) coming from the same initial library are * always made local. */ BLO_LIBLINK_APPEND_RECURSIVE = 1 << 20, diff --git a/source/blender/bmesh/tools/bmesh_intersect.c b/source/blender/bmesh/tools/bmesh_intersect.c index d51661a08bb..947442c7bd8 100644 --- a/source/blender/bmesh/tools/bmesh_intersect.c +++ b/source/blender/bmesh/tools/bmesh_intersect.c @@ -901,7 +901,7 @@ static int isect_bvhtree_point_v3(BVHTree *tree, const float **looptris, const f const float dir[3] = {1.0f, 0.0f, 0.0f}; /* Need to initialize hit even tho it's not used. - * This is to make it so kd-tree believes we didn't intersect anything and + * This is to make it so KD-tree believes we didn't intersect anything and * keeps calling the intersect callback. */ hit.index = -1; diff --git a/source/blender/editors/transform/transform_convert.c b/source/blender/editors/transform/transform_convert.c index 00be756878b..781bf221dd2 100644 --- a/source/blender/editors/transform/transform_convert.c +++ b/source/blender/editors/transform/transform_convert.c @@ -228,7 +228,7 @@ static void set_prop_dist(TransInfo *t, const bool with_dist) * Used to find #TransData from the index returned by #BLI_kdtree_find_nearest. */ TransData **td_table = MEM_mallocN(sizeof(*td_table) * td_table_len, __func__); - /* Create and fill kd-tree of selected's positions - in global or proj_vec space. */ + /* Create and fill KD-tree of selected's positions - in global or proj_vec space. */ KDTree_3d *td_tree = BLI_kdtree_3d_new(td_table_len); int td_table_index = 0; diff --git a/source/blender/gpu/GPU_index_buffer.h b/source/blender/gpu/GPU_index_buffer.h index 197077cf76c..e4f1709173e 100644 --- a/source/blender/gpu/GPU_index_buffer.h +++ b/source/blender/gpu/GPU_index_buffer.h @@ -56,7 +56,7 @@ GPUIndexBuf *GPU_indexbuf_build_on_device(uint index_len); /* * Thread safe. * - * Function inspired by the reduction directives of multithread work APIs.. + * Function inspired by the reduction directives of multi-thread work API's. */ void GPU_indexbuf_join(GPUIndexBufBuilder *builder, const GPUIndexBufBuilder *builder_from); diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index e6d02923dfe..12b81433ffd 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -1529,7 +1529,7 @@ typedef struct NodeGeometryRaycast { /* CustomDataType. */ int8_t data_type; - /* Deprecated input types in new Raycast node. Can be removed when legacy nodes are no longer + /* Deprecated input types in new Ray-cast node. Can be removed when legacy nodes are no longer * supported. */ uint8_t input_type_ray_direction; uint8_t input_type_ray_length; |