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