Cleanup: spelling in comments

This commit is contained in:
Campbell Barton 2021-10-20 09:19:21 +11:00
parent 967fec6883
commit 93197c4660
7 changed files with 7 additions and 7 deletions

View File

@ -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 */

View File

@ -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"

View File

@ -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,

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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;