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>2009-09-10 06:57:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-10 06:57:25 +0400
commit2fc4ee354574d52200544eec00aed95442cf4d04 (patch)
tree3a0871054cd05a9ae6cd5fd1c39a2dbd1a62a82a /source/blender/makesdna/DNA_curve_types.h
parent4cb53d91ea1843dc0cb2c1d4c846e5a1974a20eb (diff)
Curve cleanup
Renamed BevPoint's members * x,y,z -> vec[3]; compatible with other functions. * f1 -> split_tag; used by displist to set the splitting flag. * f2 -> dupe_tag; used in curve.c to remove duplicates. BevList * flag -> dupe_nr; was being used as a counter for duplicate points. * use arithb.c functions where possible. * arrays for coords, tilt and radius were being allocated, then copied into the BevPoint's, now write directly into the values without allocing/freeing arrays.
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r--source/blender/makesdna/DNA_curve_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 60dba9ce018..65d8cc6fbc6 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -60,7 +60,7 @@ typedef struct Path {
#
typedef struct BevList {
struct BevList *next, *prev;
- int nr, flag;
+ int nr, dupe_nr;
short poly, hole;
} BevList;
@@ -68,8 +68,8 @@ typedef struct BevList {
#
#
typedef struct BevPoint {
- float x, y, z, alfa, radius, sina, cosa, mat[3][3];
- short f1, f2;
+ float vec[3], mat[3][3], alfa, radius, sina, cosa;
+ short split_tag, dupe_tag;
} BevPoint;
/* Keyframes on IPO curves and Points on Bezier Curves/Paths are generally BezTriples */