Add geometry handling.
This commit is contained in:
parent
9c116b1efd
commit
c1389218f2
37 changed files with 294 additions and 278 deletions
|
@ -3,11 +3,6 @@
|
|||
|
||||
class Color
|
||||
{
|
||||
unsigned mR;
|
||||
unsigned mG;
|
||||
unsigned mB;
|
||||
double mAlpha;
|
||||
|
||||
public:
|
||||
Color(unsigned r, unsigned g, unsigned b, double a = 1.0);
|
||||
|
||||
|
@ -19,6 +14,12 @@ public:
|
|||
unsigned GetG() const;
|
||||
unsigned GetB() const;
|
||||
double GetAlpha() const;
|
||||
|
||||
private:
|
||||
unsigned mR{0};
|
||||
unsigned mG{0};
|
||||
unsigned mB{0};
|
||||
double mAlpha{0.0};
|
||||
};
|
||||
|
||||
using ColorPtr = std::shared_ptr<Color>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue