moargb/color.h
2020-08-30 12:17:33 +02:00

14 lines
201 B
C

#ifndef __COLOR_H__
#define __COLOR_H__
struct hsvf {
float h, s, v;
};
struct rgbf {
float r, g, b;
};
void hsv_to_rgb(struct hsvf *hsv_in, struct rgbf *rgb_out);
#endif /* __COLOR_H__ */