14 lines
201 B
C
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__ */
|