Cleanup: spelling

This commit is contained in:
2021-01-15 12:23:50 +11:00
parent dc59955481
commit 04572f0899
4 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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