diff options
Diffstat (limited to 'src/3rdparty/poly2tri/common/shapes.h')
-rw-r--r-- | src/3rdparty/poly2tri/common/shapes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/poly2tri/common/shapes.h b/src/3rdparty/poly2tri/common/shapes.h index f147955a..c99f293c 100644 --- a/src/3rdparty/poly2tri/common/shapes.h +++ b/src/3rdparty/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.x != b.x && a.y != b.y; + return !(a.x == b.x) && !(a.y == b.y); } /// Peform the dot product on two vectors. |