Cleaning for mesh addition.

This commit is contained in:
James Grogan 2022-11-13 17:02:09 +00:00
parent 8e0ce22b57
commit 402f381d10
67 changed files with 655 additions and 456 deletions

View file

@ -15,6 +15,19 @@ public:
unsigned GetB() const;
double GetAlpha() const;
bool operator==(const Color& rhs) const
{
return (mR == rhs.mR)
&& (mG == rhs.mG)
&& (mB == rhs.mB)
&& (mAlpha == rhs.mAlpha);
}
bool operator!=(const Color& rhs) const
{
return !operator==(rhs);
}
private:
unsigned mR{0};
unsigned mG{0};