summaryrefslogtreecommitdiff
path: root/src/hsv2rgb.h
blob: bd880ff55578382fd7529659c6e5902d3b3db8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef HSV2RGB_H
#define HSV2RGB_H

struct hsv_colour {
   float h;
   float s;
   float v;
}; /* end struct */

struct rgb_colour {
   float r;
   float g;
   float b;
}; /* end struct */

int hsv2rgb( struct hsv_colour *hsv, struct rgb_colour *rgb );

#endif /* HSV2RGB_H */