feat(vector): add C2Vector::operator== for C2Vector

This commit is contained in:
fallenoak 2022-12-24 14:29:56 -06:00 committed by GitHub
parent 285073dc24
commit bd159b5369
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#include "tempest/vector/C2Vector.hpp"
bool C2Vector::operator==(const C2Vector& v) {
return this->x == v.x && this->y == v.y;
}