diff --git a/poly2tri/common/shapes.h b/poly2tri/common/shapes.h index 1b0a79e..54b9337 100644 --- a/poly2tri/common/shapes.h +++ b/poly2tri/common/shapes.h @@ -259,7 +259,7 @@ inline bool operator ==(const Point& a, const Point& b) inline bool operator !=(const Point& a, const Point& b) { - return !(a.x == b.x) && !(a.y == b.y); + return !(a.x == b.x) || !(a.y == b.y); } /// Peform the dot product on two vectors.