diff options
Diffstat (limited to 'src/hsv2rgb.h')
-rw-r--r-- | src/hsv2rgb.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/hsv2rgb.h b/src/hsv2rgb.h new file mode 100644 index 0000000..bd880ff --- /dev/null +++ b/src/hsv2rgb.h @@ -0,0 +1,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 */ |