diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/blenkernel/BKE_colorband.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/blenkernel/BKE_colorband.h')
-rw-r--r-- | source/blender/blenkernel/BKE_colorband.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/source/blender/blenkernel/BKE_colorband.h b/source/blender/blenkernel/BKE_colorband.h index 624453a6eff..6e03f4db3d2 100644 --- a/source/blender/blenkernel/BKE_colorband.h +++ b/source/blender/blenkernel/BKE_colorband.h @@ -32,15 +32,17 @@ struct ColorBand; /* in ColorBand struct */ #define MAXCOLORBAND 32 -void BKE_colorband_init(struct ColorBand *coba, bool rangetype); -void BKE_colorband_init_from_table_rgba( - struct ColorBand *coba, const float (*array)[4], const int array_len, bool filter_sample); +void BKE_colorband_init(struct ColorBand *coba, bool rangetype); +void BKE_colorband_init_from_table_rgba(struct ColorBand *coba, + const float (*array)[4], + const int array_len, + bool filter_sample); struct ColorBand *BKE_colorband_add(bool rangetype); -bool BKE_colorband_evaluate(const struct ColorBand *coba, float in, float out[4]); -void BKE_colorband_evaluate_table_rgba(const struct ColorBand *coba, float **array, int *size); -struct CBData *BKE_colorband_element_add(struct ColorBand *coba, float position); -int BKE_colorband_element_remove(struct ColorBand *coba, int index); -void BKE_colorband_update_sort(struct ColorBand *coba); +bool BKE_colorband_evaluate(const struct ColorBand *coba, float in, float out[4]); +void BKE_colorband_evaluate_table_rgba(const struct ColorBand *coba, float **array, int *size); +struct CBData *BKE_colorband_element_add(struct ColorBand *coba, float position); +int BKE_colorband_element_remove(struct ColorBand *coba, int index); +void BKE_colorband_update_sort(struct ColorBand *coba); #ifdef __cplusplus } |