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>2019-11-21 15:11:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-21 15:15:11 +0300
commit1fbb86654a82df7bbce0566b8b335f8631116d65 (patch)
treea33112dce9529708a8183a1145330d7c06303e1f /source/blender/makesdna/DNA_curveprofile_types.h
parent7c18fcbe03271f15ed4f6f4af14c60e84f8bb9cc (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/makesdna/DNA_curveprofile_types.h')
-rw-r--r--source/blender/makesdna/DNA_curveprofile_types.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_curveprofile_types.h b/source/blender/makesdna/DNA_curveprofile_types.h
index d7e3591a9b8..dba05da910e 100644
--- a/source/blender/makesdna/DNA_curveprofile_types.h
+++ b/source/blender/makesdna/DNA_curveprofile_types.h
@@ -34,8 +34,9 @@
#define PROF_N_TABLE(n_pts) min_ii(PROF_TABLE_MAX, (((n_pts - 1)) * PROF_RESOL) + 1)
/** Each control point that makes up the profile.
- * \note The flags use the same enum as Bezier curves, but they aren't garanteed
- * to have identical functionality, and all types aren't implemented. */
+ * \note The flags use the same enum as Bezier curves, but they aren't guaranteed
+ * to have identical functionality, and all types aren't implemented.
+ */
typedef struct CurveProfilePoint {
/** Location of the point, keep together. */
float x, y;
@@ -50,7 +51,7 @@ enum {
PROF_SELECT = (1 << 0),
};
-/** Defines a profile */
+/** Defines a profile. */
typedef struct CurveProfile {
/** Number of user-added points that define the profile. */
short path_len;
@@ -85,7 +86,7 @@ typedef enum eCurveProfilePresets {
PROF_PRESET_SUPPORTS = 1, /* Support loops for a regular curved profile. */
PROF_PRESET_CORNICE = 2, /* Moulding type example. */
PROF_PRESET_CROWN = 3, /* Second moulding example. */
- PROF_PRESET_STEPS = 4, /* Dynamic number of steps defined by totsegments. */
+ PROF_PRESET_STEPS = 4, /* Dynamic number of steps defined by segments_len. */
} eCurveProfilePresets;
#endif