blob: 3cff7a54e52e62d97e7e1d39f17cb707c37d8376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef COLOR_H
#define COLOR_H
#include "../Utilities/Type.h"
class Color
{
public:
Color(float r = 0, float g = 0, float b = 0, float a = 0)
{
this->r = r;
this->g = g;
this->b = b;
this->a = a;
}
float r, g, b, a;
};
class Color32
{
public:
Color32(int r = 0, int g = 0, int b = 0, int a = 0)
{
this->r = r;
this->g = g;
this->b = b;
this->a = a;
}
int r, g, b, a;
};
#endif
|