From 02fc5effbaec2f0463b7fa2eb983f5930d97e3ea Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Thu, 2 Feb 2012 03:05:41 +0000 Subject: [PATCH] # poly2tri: fix Point::operator!= (http://code.google.com/p/poly2tri/issues/detail?id=38). git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1135 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- contrib/poly2tri/poly2tri/common/shapes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/poly2tri/poly2tri/common/shapes.h b/contrib/poly2tri/poly2tri/common/shapes.h index 472412154..d63f6a5be 100644 --- a/contrib/poly2tri/poly2tri/common/shapes.h +++ b/contrib/poly2tri/poly2tri/common/shapes.h @@ -257,7 +257,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.