diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-07 07:48:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-07 07:48:20 +0300 |
commit | 7cd6bda206800218da47ee35c53066a71d25ef22 (patch) | |
tree | df68fcb19a3138c0820969de4928543b0551f881 /source/blender/blenkernel | |
parent | 792a481bee4352478f624927680e7aa0eaeb2267 (diff) |
Cleanup: spelling in comments, minor reformatting changes
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_attribute.h | 7 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/dynamicpaint.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/softbody.c | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_attribute.h b/source/blender/blenkernel/BKE_attribute.h index f3968c0d761..c5aca6a9373 100644 --- a/source/blender/blenkernel/BKE_attribute.h +++ b/source/blender/blenkernel/BKE_attribute.h @@ -51,7 +51,8 @@ typedef enum AttributeDomainMask { bool BKE_id_attributes_supported(struct ID *id); -/** Create a new attribute layer. +/** + * Create a new attribute layer. */ struct CustomDataLayer *BKE_id_attribute_new( struct ID *id, const char *name, int type, AttributeDomain domain, struct ReportList *reports); @@ -103,11 +104,11 @@ void BKE_id_attribute_subset_active_set(struct ID *id, CustomDataMask mask); /** - * Sets up a temporary ID with arbitrary CustomData domains. r_id will + * Sets up a temporary ID with arbitrary CustomData domains. `r_id` will * be zero initialized with ID type id_type and any non-nullptr * CustomData parameter will be copied into the appropriate struct members. * - * \param r_id Pointer to storage sufficient for ID typecode id_type. + * \param r_id: Pointer to storage sufficient for ID type-code id_type. */ void BKE_id_attribute_copy_domains_temp(short id_type, const struct CustomData *vdata, diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c index 0f5814c0a23..b85b2b3157c 100644 --- a/source/blender/blenkernel/intern/dynamicpaint.c +++ b/source/blender/blenkernel/intern/dynamicpaint.c @@ -4018,7 +4018,7 @@ static void dynamic_paint_paint_mesh_cell_point_cb_ex( treeData->tree, ray_start, ray_dir, 0.0f, &hit, mesh_tris_spherecast_dp, treeData); if (hit.index != -1) { - /* Add factor on supersample filter */ + /* Add factor on super-sample filter. */ volume_factor = 1.0f; hit_found = HIT_VOLUME; diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index 38066f95084..afb8d5cb9f8 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -292,7 +292,7 @@ static ccd_Mesh *ccd_mesh_make(Object *ob) pccd_M->bbmax[0] = pccd_M->bbmax[1] = pccd_M->bbmax[2] = -1e30f; pccd_M->mprevvert = NULL; - /* blow it up with forcefield ranges */ + /* Blow it up with force-field ranges. */ hull = max_ff(ob->pd->pdef_sbift, ob->pd->pdef_sboft); /* Allocate and copy verts. */ |