From 04572f0899f5cb45e71178a4d3ac03a01e1c088a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 15 Jan 2021 12:23:50 +1100 Subject: Cleanup: spelling --- source/blender/blenlib/intern/math_geom.c | 2 +- source/blender/compositor/operations/COM_BokehImageOperation.h | 4 ++-- source/blender/compositor/operations/COM_DotproductOperation.cpp | 2 +- source/blender/editors/transform/transform_convert_tracking.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index 563457603bd..de5f96d3372 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -6295,7 +6295,7 @@ float geodesic_distance_propagate_across_triangle( } } - /* Fall back to Dijsktra approximaton in trivial case, or if no valid source + /* Fall back to Dijsktra approximation in trivial case, or if no valid source * point found that connects to v0 across the triangle. */ return min_ff(dist1 + len_v3(v10), dist2 + len_v3v3(v0, v2)); } diff --git a/source/blender/compositor/operations/COM_BokehImageOperation.h b/source/blender/compositor/operations/COM_BokehImageOperation.h index 01ffa026152..2d775bdf738 100644 --- a/source/blender/compositor/operations/COM_BokehImageOperation.h +++ b/source/blender/compositor/operations/COM_BokehImageOperation.h @@ -55,7 +55,7 @@ class BokehImageOperation : public NodeOperation { NodeBokehImage *m_data; /** - * \brief precalced center of the image + * \brief precalculate center of the image */ float m_center[2]; @@ -87,7 +87,7 @@ class BokehImageOperation : public NodeOperation { /** * \brief determine the coordinate of a flap corner. * - * \param r: result in bokehimage space are stored [x,y] + * \param r: result in bokeh-image space are stored [x,y] * \param flapNumber: the flap number to calculate * \param distance: the lens distance is used to simulate lens shifts */ diff --git a/source/blender/compositor/operations/COM_DotproductOperation.cpp b/source/blender/compositor/operations/COM_DotproductOperation.cpp index 750e4308d11..5914be21453 100644 --- a/source/blender/compositor/operations/COM_DotproductOperation.cpp +++ b/source/blender/compositor/operations/COM_DotproductOperation.cpp @@ -39,7 +39,7 @@ void DotproductOperation::deinitExecution() this->m_input2Operation = nullptr; } -/** \todo: current implementation is the inverse of a dotproduct. not 'logically' correct +/** \todo current implementation is the inverse of a dot-product. not 'logically' correct */ void DotproductOperation::executePixelSampled(float output[4], float x, diff --git a/source/blender/editors/transform/transform_convert_tracking.c b/source/blender/editors/transform/transform_convert_tracking.c index 9b999b26ba3..26f956e852f 100644 --- a/source/blender/editors/transform/transform_convert_tracking.c +++ b/source/blender/editors/transform/transform_convert_tracking.c @@ -80,10 +80,10 @@ typedef struct TransformInitContext { TransInfo *t; TransDataContainer *tc; - /* MOTE: There pointers will be nullptr during counting step. + /* MOTE: There pointers will be `nullptr` during counting step. * This means, that the transformation data initialization functions are to increment - * `tc->data_len` instead of filling in the transformation data when these pointers are nullptr. - * For simplicitly, check the `current.td` against nullptr. + * `tc->data_len` instead of filling in the transformation data when these pointers are + * `nullptr`. For simplicity, check the `current.td` against `nullptr`. * Do not `tc->data_len` when filling in the transformation data. */ struct { TransData *td; -- cgit v1.2.3