Triangles/src/helpers.cpp

13 lines
240 B
C++

#include "helpers.hpp"
bool operator==(const Color& a, const Color& b) {
return a.r == b.r
&& a.g == b.g
&& a.b == b.b
&& a.a == b.a;
}
bool operator!=(const Color& a, const Color& b) {
return !(a == b);
}