Cleaning for mesh addition.
This commit is contained in:
parent
8e0ce22b57
commit
402f381d10
67 changed files with 655 additions and 456 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue