diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-17 02:04:45 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-17 02:08:41 +0300 |
commit | ea0c86e961de20d4215824d5cfd239a1f4c4cc90 (patch) | |
tree | e71ac0d90968892d53d94f15191a1bbb93f24665 /source/blender/blenkernel/BKE_curves.hh | |
parent | 27388f7f46db6ce87d89bf1aa3350c899d56f42b (diff) |
Cleanup: spelling in comments
Use <pre>..</pre> for pseudo-code.
Diffstat (limited to 'source/blender/blenkernel/BKE_curves.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_curves.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_curves.hh b/source/blender/blenkernel/BKE_curves.hh index 1354fc9ed25..c28886e8a52 100644 --- a/source/blender/blenkernel/BKE_curves.hh +++ b/source/blender/blenkernel/BKE_curves.hh @@ -40,7 +40,7 @@ namespace curves::nurbs { struct BasisCache { /** - * For each evaluated point, the weight for alls control points that influences it. + * For each evaluated point, the weight for all control points that influences it. * The vector's size is the evaluated point count multiplied by the spline's order. */ Vector<float> weights; @@ -343,7 +343,7 @@ void evaluate_segment(const float3 &point_0, * Calculate all evaluated points for the Bezier curve. * * \param evaluated_offsets: The index in the evaluated points array for each control point, - * including the points from the corresponding segment. Used to varry the number of evaluated + * including the points from the corresponding segment. Used to vary the number of evaluated * points per segment, i.e. to make vector segment only have one edge. This is expected to be * calculated by #calculate_evaluated_offsets, and is the reason why this function doesn't need * arguments like "cyclic" and "resolution". @@ -428,7 +428,7 @@ void calculate_basis_cache(int size, * * \param control_weights: An optional span of control point weights, which must have the same size * as the number of control points in the curve if provided. Using this argument gives a NURBS - * curve the "Rational" behavior that's part of its acryonym; otherwise it is a NUBS. + * curve the "Rational" behavior that's part of its acronym; otherwise it is a NUBS. */ void interpolate_to_evaluated(const BasisCache &basis_cache, int8_t order, |