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 <ideasman42@gmail.com>2020-09-11 07:45:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-11 07:57:27 +0300
commitd023c4104cb642c839d5868411a3b719f3528421 (patch)
treeb72525e30abf5ef05bf34f59597dc2f49730f14b /source/blender/editors/curve/editcurve.c
parent08273adebb42f0e79a5114e5f391f480f2a4b964 (diff)
Cleanup: spelling, correct comments
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r--source/blender/editors/curve/editcurve.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 2b3df79476a..e6815582a04 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -3640,9 +3640,8 @@ static void subdividenurb(Object *obedit, View3D *v3d, int number_cuts)
* degree of the functions used to build the NURB. The
* expression
*
- * degree = #knots - #controlpoints + 1 (J Walter piece)
- * degree = #knots - #controlpoints (Blender
- * implementation)
+ * `degree = knots - controlpoints + 1` (J Walter piece)
+ * `degree = knots - controlpoints` (Blender implementation)
* ( this is confusing.... what is true? Another concern
* is that the JW piece allows the curve to become
* explicitly 1st order derivative discontinuous, while
@@ -3651,12 +3650,12 @@ static void subdividenurb(Object *obedit, View3D *v3d, int number_cuts)
* is an invariant for a single NURB curve. Raising the degree
* of the NURB is done elsewhere; the degree is assumed
* constant during this operation. Degree is a property shared
- * by all controlpoints in a curve (even though it is stored
+ * by all control-points in a curve (even though it is stored
* per control point - this can be misleading).
* Adding a knot is done by searching for the place in the
* knot vector where a certain knot value must be inserted, or
* by picking an appropriate knot value between two existing
- * ones. The number of controlpoints that is influenced by the
+ * ones. The number of control-points that is influenced by the
* insertion depends on the order of the curve. A certain
* minimum number of knots is needed to form high-order
* curves, as can be seen from the equation above. In Blender,