Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-15 03:03:46 +0300
committerCampbell Barton <campbell@blender.org>2022-09-15 03:03:46 +0300
commit4bbb043bc57f1dc27aa46624cd4d11b063070bac (patch)
treead4e24ed3eb5d45f8ace737668f02b0b46de863f /source/blender/geometry/intern/trim_curves.cc
parent5cd08e373b5b37223222ae6a68cfe970839e7800 (diff)
Cleanup: spelling in comments, comment blocks
Diffstat (limited to 'source/blender/geometry/intern/trim_curves.cc')
-rw-r--r--source/blender/geometry/intern/trim_curves.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/geometry/intern/trim_curves.cc b/source/blender/geometry/intern/trim_curves.cc
index 12fad63f468..0ddd9eb721d 100644
--- a/source/blender/geometry/intern/trim_curves.cc
+++ b/source/blender/geometry/intern/trim_curves.cc
@@ -81,8 +81,8 @@ static bke::curves::IndexRangeCyclic get_range_between_endpoints(
* constant for all curve segments and evaluated curve points are uniformly spaced between the
* segment endpoints in relation to the curve parameter.
*
- * \param lengths: Accumulated lenght for the evaluated curve.
- * \param sample_length: Distance along the curve to determine the CurvePoint for.
+ * \param lengths: Accumulated length for the evaluated curve.
+ * \param sample_length: Distance along the curve to determine the #CurvePoint for.
* \param cyclic: If curve is cyclic.
* \param resolution: Curve resolution (number of evaluated points per segment).
* \param num_curve_points: Total number of control points in the curve.
@@ -185,7 +185,7 @@ Array<bke::curves::CurvePoint, 12> lookup_curve_points(const bke::CurvesGeometry
const VArray<int> resolution = curves.resolution();
const VArray<int8_t> curve_types = curves.curve_types();
- /* Compute curve lenghts! */
+ /* Compute curve lengths! */
curves.ensure_evaluated_lengths();
curves.ensure_evaluated_offsets();
@@ -294,7 +294,7 @@ static void determine_copyable_curve_types(const bke::CurvesGeometry &src_curves
}
/**
- * Determine if a curve is treated as an evaluated curve. Curves which inheretly do not support
+ * Determine if a curve is treated as an evaluated curve. Curves which inherently do not support
* trimming are discretized (e.g. NURBS).
*/
static bool copy_as_evaluated_curve(const int8_t src_type, const int8_t dst_type)