diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-21 08:06:28 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-22 04:20:40 +0300 |
commit | b04514da5d19f69a504372ef5c6a204ca82c2e65 (patch) | |
tree | 3bd0f0bbf02071675c4ead5126eac422c205e2d9 /source/blender/blenlib/BLI_math_color.h | |
parent | 5bd1d63115e2867c90c1426ff506a2cc3823f3ef (diff) |
Cleanup: match names between functions & declarations
Mostly update the declarations, in some cases rename in the function
especially when the names used were inconstant with related functions.
Diffstat (limited to 'source/blender/blenlib/BLI_math_color.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_color.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_color.h b/source/blender/blenlib/BLI_math_color.h index 6386a7f76f8..3aa2e35476d 100644 --- a/source/blender/blenlib/BLI_math_color.h +++ b/source/blender/blenlib/BLI_math_color.h @@ -164,7 +164,9 @@ void rgba_float_to_uchar(unsigned char r_col[4], const float col_f[4]); MINLINE float rgb_to_grayscale(const float rgb[3]); MINLINE unsigned char rgb_to_grayscale_byte(const unsigned char rgb[3]); -MINLINE int compare_rgb_uchar(const unsigned char a[3], const unsigned char b[3], int limit); +MINLINE int compare_rgb_uchar(const unsigned char col_a[3], + const unsigned char col_b[3], + int limit); /** * Return triangle noise in [-0.5..1.5] range. |