From deca7c795411975e3bfb11cd6934ace768be772b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 14 Oct 2020 14:43:54 +1100 Subject: Cleanup: spelling --- source/blender/blenkernel/BKE_paint.h | 16 ++++++++-------- source/blender/blenkernel/intern/shrinkwrap.c | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h index 64910e5f1a9..614badb59f9 100644 --- a/source/blender/blenkernel/BKE_paint.h +++ b/source/blender/blenkernel/BKE_paint.h @@ -270,12 +270,12 @@ typedef enum eSculptClothConstraintType { /* Constraint that creates the structure of the cloth. */ SCULPT_CLOTH_CONSTRAINT_STRUCTURAL = 0, /* Constraint that references the position of a vertex and a position in deformation_pos which - can be deformed by the tools. */ + * can be deformed by the tools. */ SCULPT_CLOTH_CONSTRAINT_DEFORMATION = 1, - /* Constarint that references the vertex position and a editable softbody position for - plasticity. */ + /* Constraint that references the vertex position and a editable soft-body position for + * plasticity. */ SCULPT_CLOTH_CONSTRAINT_SOFTBODY = 2, - /* Constarint that references the vertex position and its initial position. */ + /* Constraint that references the vertex position and its initial position. */ SCULPT_CLOTH_CONSTRAINT_PIN = 3, } eSculptClothConstraintType; @@ -295,7 +295,7 @@ typedef struct SculptClothLengthConstraint { float length; float strength; - /* Index in SculptClothSimulation.node_state of the node from where this constraint was created. + /* Index in #SculptClothSimulation.node_state of the node from where this constraint was created. * This constraints will only be used by the solver if the state is active. */ int node; @@ -329,7 +329,7 @@ typedef struct SculptClothSimulation { struct ListBase *collider_list; int totnode; - /* PBVHNode pointer as a key, index in SculptClothSimulation.node_state as value. */ + /** #PBVHNode pointer as a key, index in #SculptClothSimulation.node_state as value. */ struct GHash *node_state_index; eSculptClothNodeSimState *node_state; } SculptClothSimulation; @@ -341,7 +341,7 @@ typedef struct SculptPersistentBase { } SculptPersistentBase; typedef struct SculptVertexInfo { - /* Idexed by vertex, stores and ID of its topologycally connected component. */ + /* Indexed by vertex, stores and ID of its topologically connected component. */ int *connected_component; /* Indexed by base mesh vertex index, stores if that vertex is a boundary. */ @@ -429,7 +429,7 @@ typedef struct SculptFakeNeighbors { /* Max distance used to calculate neighborhood information. */ float current_max_distance; - /* Idexed by vertex, stores the vertex index of its fake neighbor if available. */ + /* Indexed by vertex, stores the vertex index of its fake neighbor if available. */ int *fake_neighbor_index; } SculptFakeNeighbors; diff --git a/source/blender/blenkernel/intern/shrinkwrap.c b/source/blender/blenkernel/intern/shrinkwrap.c index e9cf6421a02..96f2b8c1095 100644 --- a/source/blender/blenkernel/intern/shrinkwrap.c +++ b/source/blender/blenkernel/intern/shrinkwrap.c @@ -345,10 +345,10 @@ void BKE_shrinkwrap_compute_boundary_data(struct Mesh *mesh) mesh->runtime.shrinkwrap_data = shrinkwrap_build_boundary_data(mesh); } -/* - * Shrinkwrap to the nearest vertex +/** + * Shrink-wrap to the nearest vertex * - * it builds a kdtree of vertexs we can attach to and then + * it builds a #BVHTree of vertices we can attach to and then * for each vertex performs a nearest vertex search on the tree */ static void shrinkwrap_calc_nearest_vertex_cb_ex(void *__restrict userdata, -- cgit v1.2.3