Struct ColorHSV copied to color.h
parent
f244921ba9
commit
81468f8dc9
|
@ -20,6 +20,8 @@
|
|||
|
||||
|
||||
// TODO
|
||||
namespace Gfx {
|
||||
|
||||
struct Color
|
||||
{
|
||||
|
||||
|
@ -27,6 +29,13 @@ struct Color
|
|||
|
||||
};
|
||||
|
||||
|
||||
struct ColorHSV
|
||||
{
|
||||
float h,s,v;
|
||||
};
|
||||
|
||||
|
||||
long RetColor(float intensity);
|
||||
long RetColor(Color intensity);
|
||||
Color RetColor(long intensity);
|
||||
|
@ -34,3 +43,5 @@ Color RetColor(long intensity);
|
|||
void RGB2HSV(Color src, ColorHSV &dest);
|
||||
void HSV2RGB(ColorHSV src, Color &dest);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue