From 002b2066ac312d34f2d5e3a8031db140c3008f0a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 4 May 2017 20:50:03 +1000 Subject: Remove cpack Places where it's removed are already replaced by newer logic. --- source/blender/blenlib/intern/math_color.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/math_color.c b/source/blender/blenlib/intern/math_color.c index 6d7d24c79c3..cb39134af45 100644 --- a/source/blender/blenlib/intern/math_color.c +++ b/source/blender/blenlib/intern/math_color.c @@ -359,8 +359,10 @@ void xyz_to_rgb(float xc, float yc, float zc, float *r, float *g, float *b, int } } -/* we define a 'cpack' here as a (3 byte color code) number that can be expressed like 0xFFAA66 or so. - * for that reason it is sensitive for endianness... with this function it works correctly +/** + * We define a 'cpack' here as a (3 byte color code) number that can be expressed like 0xFFAA66 or so. + * for that reason it is sensitive for endianness... with this function it works correctly. + * \see #imm_cpack */ unsigned int hsv_to_cpack(float h, float s, float v) -- cgit v1.2.3