forked from bartvdbraak/blender
Code cleanup: pack BezTriple a little (though size remains same)
This commit is contained in:
parent
c58f000e57
commit
847b7bcbea
@ -109,18 +109,18 @@ typedef struct BezTriple {
|
|||||||
float vec[3][3];
|
float vec[3][3];
|
||||||
float alfa, weight, radius; /* alfa: tilt in 3D View, weight: used for softbody goal weight, radius: for bevel tapering */
|
float alfa, weight, radius; /* alfa: tilt in 3D View, weight: used for softbody goal weight, radius: for bevel tapering */
|
||||||
|
|
||||||
short ipo; /* ipo: interpolation mode for segment from this BezTriple to the next */
|
char ipo; /* ipo: interpolation mode for segment from this BezTriple to the next */
|
||||||
|
|
||||||
char h1, h2; /* h1, h2: the handle type of the two handles */
|
char h1, h2; /* h1, h2: the handle type of the two handles */
|
||||||
char f1, f2, f3; /* f1, f2, f3: used for selection status */
|
char f1, f2, f3; /* f1, f2, f3: used for selection status */
|
||||||
|
|
||||||
char hide; /* hide: used to indicate whether BezTriple is hidden (3D), type of keyframe (eBezTriple_KeyframeTypes) */
|
char hide; /* hide: used to indicate whether BezTriple is hidden (3D), type of keyframe (eBezTriple_KeyframeTypes) */
|
||||||
|
|
||||||
|
char easing; /* easing: easing type for interpolation mode (eBezTriple_Easing) */
|
||||||
float back; /* BEZT_IPO_BACK */
|
float back; /* BEZT_IPO_BACK */
|
||||||
float amplitude, period; /* BEZT_IPO_ELASTIC */
|
float amplitude, period; /* BEZT_IPO_ELASTIC */
|
||||||
char easing; /* easing: easing type for interpolation mode (eBezTriple_Easing) */
|
|
||||||
|
|
||||||
char pad[3];
|
char pad[4];
|
||||||
} BezTriple;
|
} BezTriple;
|
||||||
|
|
||||||
/* note; alfa location in struct is abused by Key system */
|
/* note; alfa location in struct is abused by Key system */
|
||||||
|
@ -485,8 +485,9 @@ typedef struct UserDef {
|
|||||||
short glreslimit;
|
short glreslimit;
|
||||||
short curssize;
|
short curssize;
|
||||||
short color_picker_type;
|
short color_picker_type;
|
||||||
short ipo_new; /* interpolation mode for newly added F-Curves */
|
char ipo_new; /* interpolation mode for newly added F-Curves */
|
||||||
short keyhandles_new; /* handle types for newly added keyframes */
|
char keyhandles_new; /* handle types for newly added keyframes */
|
||||||
|
char pad1[2];
|
||||||
|
|
||||||
short scrcastfps; /* frame rate for screencast to be played back */
|
short scrcastfps; /* frame rate for screencast to be played back */
|
||||||
short scrcastwait; /* milliseconds between screencast snapshots */
|
short scrcastwait; /* milliseconds between screencast snapshots */
|
||||||
|
Loading…
Reference in New Issue
Block a user