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-03-03 17:14:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-03 17:18:06 +0300
commit647c26c5ce77eb36ce37505bb8deaee2004f1f4c (patch)
treebde25eb01c56901511faff3356dd29bd063f8836 /source/blender/makesdna/DNA_curve_types.h
parent216ddcc09bde3e06cc35a97f0831a1a0df320a52 (diff)
DNA: rename BezTriple alfa to tilt
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r--source/blender/makesdna/DNA_curve_types.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 5d1404028dc..d432209575b 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -64,7 +64,7 @@ typedef struct Path {
#
#
typedef struct BevPoint {
- float vec[3], alfa, radius, weight, offset;
+ float vec[3], tilt, radius, weight, offset;
/** 2D Only. */
float sina, cosa;
/** 3D Only. */
@@ -87,9 +87,9 @@ typedef struct BevList {
/**
* Keyframes on F-Curves (allows code reuse of Bezier eval code) and
- * Points on Bezier Curves/Paths are generally BezTriples
+ * Points on Bezier Curves/Paths are generally BezTriples.
*
- * \note alfa location in struct is abused by Key system
+ * \note #BezTriple.tilt location in struct is abused by Key system.
*
* \note vec in BezTriple looks like this:
* - vec[0][0] = x location of handle 1
@@ -104,8 +104,12 @@ typedef struct BevList {
*/
typedef struct BezTriple {
float vec[3][3];
- /** Alfa: tilt in 3D View, weight: used for softbody goal weight, radius: for bevel tapering. */
- float alfa, weight, radius;
+ /** Tilt in 3D View. */
+ float tilt;
+ /** Used for softbody goal weight. */
+ float weight;
+ /** For bevel tapering & modifiers. */
+ float radius;
/** Ipo: interpolation mode for segment from this BezTriple to the next. */
char ipo;
@@ -131,11 +135,15 @@ typedef struct BezTriple {
char _pad[3];
} BezTriple;
-/* note; alfa location in struct is abused by Key system */
+/**
+ * \note #BPoint.tilt location in struct is abused by Key system.
+ */
typedef struct BPoint {
float vec[4];
- /** Alfa: tilt in 3D View, weight: used for softbody goal weight. */
- float alfa, weight;
+ /** Tilt in 3D View. */
+ float tilt;
+ /** Used for softbody goal weight. */
+ float weight;
/** F1: selection status, hide: is point hidden or not. */
short f1, hide;
/** User-set radius per point for beveling etc. */