diff options
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_color_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h index 9aae71b9cc9..32cbc39523b 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -53,11 +53,15 @@ typedef struct CurveMap { float range; /* quick multiply value for reading table */ float mintable, maxtable; /* the x-axis range for the table */ + float ext_in[2], ext_out[2]; /* for extrapolated curves, the direction vector */ CurveMapPoint *curve; /* actual curve */ CurveMapPoint *table; /* display and evaluate table */ CurveMapPoint *premultable; /* for RGB curves, premulled table */ } CurveMap; +/* cuma->flag */ +#define CUMA_EXTEND_EXTRAPOLATE 1 + typedef struct CurveMapping { int flag, cur; /* cur; for buttons, to show active curve */ @@ -68,7 +72,7 @@ typedef struct CurveMapping { float bwmul[3], padf; /* black/white point multiply value, for speed */ } CurveMapping; -/* cumap->flag */ +/* cumapping->flag */ #define CUMA_DO_CLIP 1 #define CUMA_PREMULLED 2 |