Add geometry handling.

This commit is contained in:
jmsgrogan 2022-05-15 14:58:31 +01:00
parent 9c116b1efd
commit c1389218f2
37 changed files with 294 additions and 278 deletions

View file

@ -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>;