Struct Color
parent
9f784e81f8
commit
1415bf0bd2
|
@ -22,12 +22,15 @@
|
|||
// TODO
|
||||
struct Color
|
||||
{
|
||||
|
||||
float r, g, b, a;
|
||||
|
||||
};
|
||||
|
||||
D3DCOLOR RetColor(float intensity);
|
||||
D3DCOLOR RetColor(D3DCOLORVALUE intensity);
|
||||
D3DCOLORVALUE RetColor(D3DCOLOR intensity);
|
||||
long RetColor(float intensity);
|
||||
long RetColor(Color intensity);
|
||||
Color RetColor(long intensity);
|
||||
|
||||
void RGB2HSV(D3DCOLORVALUE src, ColorHSV &dest);
|
||||
void HSV2RGB(ColorHSV src, D3DCOLORVALUE &dest);
|
||||
void RGB2HSV(Color src, ColorHSV &dest);
|
||||
void HSV2RGB(ColorHSV src, Color &dest);
|
||||
|
||||
|
|
Loading…
Reference in New Issue