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