From e662a5c446343a76b3baf5e7cf6d51b2553fbb1e Mon Sep 17 00:00:00 2001 From: Mason Green Date: Wed, 1 May 2013 21:40:42 -0400 Subject: [PATCH] changed inequality --- poly2tri/common/shapes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.