Dimming works
This commit is contained in:
parent
e51d35f6d6
commit
bfd8db0098
4 changed files with 158 additions and 27 deletions
14
color.h
Normal file
14
color.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#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__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue